From 49ce64d6acee45e23150afed2effc6d8cec57f9b Mon Sep 17 00:00:00 2001 From: nmzik Date: Sat, 19 Oct 2019 14:12:18 +0300 Subject: getter and enum fix --- src/core/Game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core/Game.cpp b/src/core/Game.cpp index f455757c..fd8c93a4 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -83,10 +83,10 @@ void CGame::Process(void) { CPad::UpdatePads(); TheCamera.SetMotionBlurAlpha(0); - if (TheCamera.m_BlurType == 0 || TheCamera.m_BlurType == 1 || TheCamera.m_BlurType == 2) + if (TheCamera.m_BlurType == MBLUR_NONE || TheCamera.m_BlurType == MBLUR_SNIPER || TheCamera.m_BlurType == MBLUR_NORMAL) TheCamera.SetMotionBlur(0, 0, 0, 0, 0); CCutsceneMgr::Update(); - if (!CCutsceneMgr::ms_cutsceneProcessing && !CTimer::GetIsCodePaused()) + if (!CCutsceneMgr::IsCutsceneProcessing() && !CTimer::GetIsCodePaused()) FrontEndMenuManager.Process(); CStreaming::Update(); if (!CTimer::GetIsPaused()) -- cgit v1.2.3