diff options
author | _AG <gennariarmando@outlook.com> | 2019-06-17 02:10:55 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-06-17 02:11:30 +0200 |
commit | f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec (patch) | |
tree | cc2c85e0ccf486546de22074639d0e8fbe032f65 /src/Frontend.cpp | |
parent | fixed rebind bug (diff) | |
download | re3-f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec.tar re3-f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec.tar.gz re3-f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec.tar.bz2 re3-f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec.tar.lz re3-f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec.tar.xz re3-f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec.tar.zst re3-f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec.zip |
Diffstat (limited to 'src/Frontend.cpp')
-rw-r--r-- | src/Frontend.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 |