summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-08 16:14:21 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-08 16:14:21 +0200
commit478bdcc1ca041bccf791c3aa7dbbc1a04da72454 (patch)
tree589cfc6708f54f58e10d5c8774fcb244c79b46e3 /src/core/Frontend.cpp
parentMerge branch 'master' into miami (diff)
parentsmall refactoring (diff)
downloadre3-478bdcc1ca041bccf791c3aa7dbbc1a04da72454.tar
re3-478bdcc1ca041bccf791c3aa7dbbc1a04da72454.tar.gz
re3-478bdcc1ca041bccf791c3aa7dbbc1a04da72454.tar.bz2
re3-478bdcc1ca041bccf791c3aa7dbbc1a04da72454.tar.lz
re3-478bdcc1ca041bccf791c3aa7dbbc1a04da72454.tar.xz
re3-478bdcc1ca041bccf791c3aa7dbbc1a04da72454.tar.zst
re3-478bdcc1ca041bccf791c3aa7dbbc1a04da72454.zip
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r--src/core/Frontend.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 64e27a32..0fd5c5bd 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -4621,7 +4621,7 @@ CMenuManager::ProcessUserInput(uint8 goDown, uint8 goUp, uint8 optionSelected, u
#ifdef USE_DEBUG_SCRIPT_LOADER
if (m_nCurrScreen == MENUPAGE_START_MENU || m_nCurrScreen == MENUPAGE_NEW_GAME || m_nCurrScreen == MENUPAGE_NEW_GAME_RELOAD) {
if (CPad::GetPad(0)->GetChar('R')) {
- scriptToLoad = 1;
+ CTheScripts::ScriptToLoad = 1;
DoSettingsBeforeStartingAGame();
return;
}
@@ -4776,7 +4776,7 @@ CMenuManager::ProcessUserInput(uint8 goDown, uint8 goUp, uint8 optionSelected, u
#ifdef MISSION_REPLAY
case MENUACTION_REJECT_RETRY:
doingMissionRetry = false;
- AllowMissionReplay = 0;
+ AllowMissionReplay = MISSION_RETRY_STAGE_NORMAL;
RequestFrontEndShutDown();
break;
case MENUACTION_UNK114:
@@ -5444,7 +5444,7 @@ CMenuManager::ProcessFileActions()
#endif
if (CheckSlotDataValid(m_nCurrSaveSlot)) {
#ifdef USE_DEBUG_SCRIPT_LOADER
- scriptToLoad = 0;
+ CTheScripts::ScriptToLoad = 0;
#endif
#ifdef XBOX_MESSAGE_SCREEN