summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-08 15:57:37 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-08 15:57:37 +0200
commit63046894b099598c41096651a9816ee3adc032a4 (patch)
tree9595d7e98f521d579c92df00db51bcd595d31328 /src/core
parentfixed tab (diff)
downloadre3-63046894b099598c41096651a9816ee3adc032a4.tar
re3-63046894b099598c41096651a9816ee3adc032a4.tar.gz
re3-63046894b099598c41096651a9816ee3adc032a4.tar.bz2
re3-63046894b099598c41096651a9816ee3adc032a4.tar.lz
re3-63046894b099598c41096651a9816ee3adc032a4.tar.xz
re3-63046894b099598c41096651a9816ee3adc032a4.tar.zst
re3-63046894b099598c41096651a9816ee3adc032a4.zip
Diffstat (limited to 'src/core')
-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 ecb893b4..e7a15f66 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -4182,7 +4182,7 @@ CMenuManager::Process(void)
#endif
if (CheckSlotDataValid(m_nCurrSaveSlot)) {
#ifdef USE_DEBUG_SCRIPT_LOADER
- scriptToLoad = 0;
+ CTheScripts::ScriptToLoad = 0;
#endif
#ifdef PC_PLAYER_CONTROLS
TheCamera.m_bUseMouse3rdPerson = m_ControlMethod == CONTROL_STANDARD;
@@ -4312,12 +4312,12 @@ CMenuManager::ProcessButtonPresses(void)
#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;
}
if (CPad::GetPad(0)->GetChar('D')) {
- scriptToLoad = 2;
+ CTheScripts::ScriptToLoad = 2;
DoSettingsBeforeStartingAGame();
return;
}