diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-01 11:54:05 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-07 19:24:01 +0200 |
commit | c69edce8007178755d979f638852abb9359950c2 (patch) | |
tree | f041976b6ac5421582deae12e056b0d2e6e04ac2 /src/control/Script5.cpp | |
parent | lcs specific hack (diff) | |
download | re3-c69edce8007178755d979f638852abb9359950c2.tar re3-c69edce8007178755d979f638852abb9359950c2.tar.gz re3-c69edce8007178755d979f638852abb9359950c2.tar.bz2 re3-c69edce8007178755d979f638852abb9359950c2.tar.lz re3-c69edce8007178755d979f638852abb9359950c2.tar.xz re3-c69edce8007178755d979f638852abb9359950c2.tar.zst re3-c69edce8007178755d979f638852abb9359950c2.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 8544f604..b0605574 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -1383,8 +1383,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 |