summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-04-09 01:52:38 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-04-09 01:52:38 +0200
commit37691701138c8a458bc8b41944745000d27a3b83 (patch)
treebcfad8fa942aef410f6a4ad066da7a63d8a49ed8 /src/core/Frontend.cpp
parentFix target sprite size (diff)
downloadre3-37691701138c8a458bc8b41944745000d27a3b83.tar
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.gz
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.bz2
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.lz
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.xz
re3-37691701138c8a458bc8b41944745000d27a3b83.tar.zst
re3-37691701138c8a458bc8b41944745000d27a3b83.zip
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r--src/core/Frontend.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 98d67fa2..beebacf9 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -555,7 +555,7 @@ void CMenuManager::DoSettingsBeforeStartingAGame()
m_PrefsVsync = m_PrefsVsyncDisp;
DMAudio.Service();
- m_bStartGameLoading = true;
+ m_bWantToRestart = true;
ShutdownJustMenu();
UnloadTextures();
@@ -2819,7 +2819,7 @@ void CMenuManager::Process(void)
if (!m_bSaveMenuActive && TheCamera.GetScreenFadeStatus() != FADE_0)
return;
- m_bStartGameLoading = false;
+ m_bWantToRestart = false;
InitialiseChangedLanguageSettings();
if (CPad::GetPad(0)->GetEscapeJustDown())
@@ -2861,9 +2861,9 @@ void CMenuManager::Process(void)
if (m_PrefsVsyncDisp != m_PrefsVsync)
m_PrefsVsync = m_PrefsVsyncDisp;
DMAudio.Service();
- m_bStartGameLoading = true;
+ m_bWantToRestart = true;
RequestFrontEndShutDown();
- m_bLoadingSavedGame = true;
+ m_bWantToLoad = true;
b_FoundRecentSavedGameWantToLoad = true;
DMAudio.SetEffectsFadeVol(0);
DMAudio.SetMusicFadeVol(0);
@@ -2960,7 +2960,7 @@ void CMenuManager::Process(void)
m_bWaitingForNewKeyBind = false;
}
- if (!m_bStartGameLoading) {
+ if (!m_bWantToRestart) {
if (m_bGameNotLoaded)
DMAudio.Service();
}