diff options
author | Nikolay <nickvnuk@gmail.com> | 2021-08-07 18:47:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-07 18:47:28 +0300 |
commit | e947081622d337a5e22791691e5d0dbed56e0199 (patch) | |
tree | 4cf5012d9795a870caf8ec00ef69b1f9baf15210 /src/control/Script5.cpp | |
parent | bec1cbc1cb8de15ebd056ed35b6d91b7f397e530 (diff) | |
parent | 80d00fe31a191e5c5151509109957ab1f0ecc5e7 (diff) |
Merge pull request #1266 from Nick007J/miami
Mission replay
Diffstat (limited to 'src/control/Script5.cpp')
-rw-r--r-- | src/control/Script5.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp index f65724c2..fc258f0c 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -1379,8 +1379,10 @@ void CRunningScript::DoDeatharrestCheck() if (!pPlayer->IsRestartingAfterDeath() && !pPlayer->IsRestartingAfterArrest()) return; #ifdef MISSION_REPLAY - if (AllowMissionReplay != 0) + if (AllowMissionReplay != 7 && AllowMissionReplay != 0) return; + if (AllowMissionReplay == 7) + AllowMissionReplay = 0; if (CanAllowMissionReplay()) AllowMissionReplay = 1; #endif |