diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-01 10:33:16 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-01 10:33:16 +0100 |
commit | f21cfef8fb92a0923c6ddfa26124cf6da1fa883c (patch) | |
tree | ceb71a6fe0e06f6b45213465e6f7b8380b429cf4 /src/control | |
parent | Also fix SetModelIndex in CAutomobile and CTrain ctors (diff) | |
download | re3-f21cfef8fb92a0923c6ddfa26124cf6da1fa883c.tar re3-f21cfef8fb92a0923c6ddfa26124cf6da1fa883c.tar.gz re3-f21cfef8fb92a0923c6ddfa26124cf6da1fa883c.tar.bz2 re3-f21cfef8fb92a0923c6ddfa26124cf6da1fa883c.tar.lz re3-f21cfef8fb92a0923c6ddfa26124cf6da1fa883c.tar.xz re3-f21cfef8fb92a0923c6ddfa26124cf6da1fa883c.tar.zst re3-f21cfef8fb92a0923c6ddfa26124cf6da1fa883c.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 6bde6b87..86595bbd 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -2696,8 +2696,10 @@ int8 CRunningScript::ProcessCommands0To99(int32 command) #ifdef MISSION_REPLAY if (m_bMissionFlag) { CPlayerInfo* pPlayerInfo = &CWorld::Players[CWorld::PlayerInFocus]; +#if 0 // makeing autosave is pointless and is a bit buggy if (pPlayerInfo->m_pPed->GetPedState() != PED_DEAD && pPlayerInfo->m_WBState == WBSTATE_PLAYING && !m_bDeatharrestExecuted) SaveGameForPause(1); +#endif oldTargetX = oldTargetY = 0.0f; if (AllowMissionReplay == 1) AllowMissionReplay = 2; |