summaryrefslogtreecommitdiffstats
path: root/src/Frontend.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-17 07:29:52 +0200
committerGitHub <noreply@github.com>2019-06-17 07:29:52 +0200
commitfcc6a8bc555b9aefebc51c8a479abadfad9c120a (patch)
treecc2c85e0ccf486546de22074639d0e8fbe032f65 /src/Frontend.cpp
parentfixed rebind bug (diff)
parentUpdate HUD stuff, bug and format fixes. (diff)
downloadre3-fcc6a8bc555b9aefebc51c8a479abadfad9c120a.tar
re3-fcc6a8bc555b9aefebc51c8a479abadfad9c120a.tar.gz
re3-fcc6a8bc555b9aefebc51c8a479abadfad9c120a.tar.bz2
re3-fcc6a8bc555b9aefebc51c8a479abadfad9c120a.tar.lz
re3-fcc6a8bc555b9aefebc51c8a479abadfad9c120a.tar.xz
re3-fcc6a8bc555b9aefebc51c8a479abadfad9c120a.tar.zst
re3-fcc6a8bc555b9aefebc51c8a479abadfad9c120a.zip
Diffstat (limited to '')
-rw-r--r--src/Frontend.cpp10
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