summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-22 01:44:01 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-22 02:48:12 +0200
commita5f23a03424cf312add998edce6ef4122c0a29d4 (patch)
treeb05a0255a5742a13e90a3a8f735190e4dd7f5706 /src/control/Script.cpp
parentMerge pull request #573 from Nick007J/miami (diff)
downloadre3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar
re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.gz
re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.bz2
re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.lz
re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.xz
re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.zst
re3-a5f23a03424cf312add998edce6ef4122c0a29d4.zip
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index eb94918e..5777cff2 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -8627,13 +8627,13 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
case COMMAND_ACTIVATE_SAVE_MENU:
{
CStats::SafeHouseVisits++;
- FrontEndMenuManager.m_bSaveMenuActive = true;
+ FrontEndMenuManager.m_bActivateSaveMenu = true;
FindPlayerPed()->SetMoveSpeed(0.0f, 0.0f, 0.0f);
FindPlayerPed()->SetTurnSpeed(0.0f, 0.0f, 0.0f);
return 0;
}
case COMMAND_HAS_SAVE_GAME_FINISHED:
- UpdateCompareFlag(!FrontEndMenuManager.m_bMenuActive && !FrontEndMenuManager.m_bSaveMenuActive);
+ UpdateCompareFlag(!FrontEndMenuManager.m_bMenuActive && !FrontEndMenuManager.m_bActivateSaveMenu);
return 0;
case COMMAND_NO_SPECIAL_CAMERA_FOR_THIS_GARAGE:
CollectParameters(&m_nIp, 1);