summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-22 22:35:19 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-22 22:35:19 +0200
commit6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c (patch)
tree25d4899924a591e4dafd44caf488dd9bf62db95e /src/control/Script.cpp
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
parentMerge pull request #579 from Xinerki/miami (diff)
downloadre3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.gz
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.bz2
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.lz
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.xz
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.zst
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.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 79917002..36b7f34e 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -8628,13 +8628,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);