summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-05-22 14:24:08 +0200
committerGitHub <noreply@github.com>2020-05-22 14:24:08 +0200
commit4fd1771f7179bb29ce11fc8910ec527b5f74d2b0 (patch)
treeb05a0255a5742a13e90a3a8f735190e4dd7f5706 /src/control/Script.cpp
parentMerge pull request #573 from Nick007J/miami (diff)
parentVC CMenuManager struct, ctor etc. (diff)
downloadre3-4fd1771f7179bb29ce11fc8910ec527b5f74d2b0.tar
re3-4fd1771f7179bb29ce11fc8910ec527b5f74d2b0.tar.gz
re3-4fd1771f7179bb29ce11fc8910ec527b5f74d2b0.tar.bz2
re3-4fd1771f7179bb29ce11fc8910ec527b5f74d2b0.tar.lz
re3-4fd1771f7179bb29ce11fc8910ec527b5f74d2b0.tar.xz
re3-4fd1771f7179bb29ce11fc8910ec527b5f74d2b0.tar.zst
re3-4fd1771f7179bb29ce11fc8910ec527b5f74d2b0.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);