summaryrefslogtreecommitdiffstats
path: root/src/Frontend.cpp
diff options
context:
space:
mode:
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