diff options
author | Nikolay <nickvnuk@gmail.com> | 2021-08-07 17:47:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-07 17:47:28 +0200 |
commit | e947081622d337a5e22791691e5d0dbed56e0199 (patch) | |
tree | 4cf5012d9795a870caf8ec00ef69b1f9baf15210 /src/control/Script5.cpp | |
parent | CVehicle fixes and cleanup (diff) | |
parent | more cherry-pick fix (diff) | |
download | re3-e947081622d337a5e22791691e5d0dbed56e0199.tar re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.gz re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.bz2 re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.lz re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.xz re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.zst re3-e947081622d337a5e22791691e5d0dbed56e0199.zip |
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 |