From f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec Mon Sep 17 00:00:00 2001 From: _AG Date: Mon, 17 Jun 2019 02:10:55 +0200 Subject: Update HUD stuff, bug and format fixes. Added environment variables to premake5.lua. Update README.md --- src/Frontend.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Frontend.cpp') diff --git a/src/Frontend.cpp b/src/Frontend.cpp index 5613a2eb..b8ee10f4 100644 --- a/src/Frontend.cpp +++ b/src/Frontend.cpp @@ -37,15 +37,15 @@ WRAPPER void CMenuManager::LoadSettings(void) { EAXJMP(0x488EE0); } WRAPPER void CMenuManager::WaitForUserCD(void) { EAXJMP(0x48ADD0); } int CMenuManager::FadeIn(int alpha) { - if (FrontEndMenuManager.m_nCurrScreen == MENU_LOADING_IN_PROGRESS || - FrontEndMenuManager.m_nCurrScreen == MENU_SAVING_IN_PROGRESS || - FrontEndMenuManager.m_nCurrScreen == MENU_DELETING) + if (m_nCurrScreen == MENU_LOADING_IN_PROGRESS || + m_nCurrScreen == MENU_SAVING_IN_PROGRESS || + m_nCurrScreen == MENU_DELETING) return alpha; - if (FrontEndMenuManager.m_nMenuFadeAlpha >= alpha) + if (m_nMenuFadeAlpha >= alpha) return alpha; - return FrontEndMenuManager.m_nMenuFadeAlpha; + return m_nMenuFadeAlpha; } STARTPATCHES -- cgit v1.2.3