diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-08 15:57:37 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-08 15:57:37 +0200 |
commit | 63046894b099598c41096651a9816ee3adc032a4 (patch) | |
tree | 9595d7e98f521d579c92df00db51bcd595d31328 /src/control/Script5.cpp | |
parent | fixed tab (diff) | |
download | re3-63046894b099598c41096651a9816ee3adc032a4.tar re3-63046894b099598c41096651a9816ee3adc032a4.tar.gz re3-63046894b099598c41096651a9816ee3adc032a4.tar.bz2 re3-63046894b099598c41096651a9816ee3adc032a4.tar.lz re3-63046894b099598c41096651a9816ee3adc032a4.tar.xz re3-63046894b099598c41096651a9816ee3adc032a4.tar.zst re3-63046894b099598c41096651a9816ee3adc032a4.zip |
Diffstat (limited to 'src/control/Script5.cpp')
-rw-r--r-- | src/control/Script5.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp index 953a1f50..76aa2442 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -1239,10 +1239,10 @@ void CRunningScript::DoDeatharrestCheck() if (!pPlayer->IsRestartingAfterDeath() && !pPlayer->IsRestartingAfterArrest() && !CTheScripts::UpsideDownCars.AreAnyCarsUpsideDown()) return; #ifdef MISSION_REPLAY - if (AllowMissionReplay != 0) + if (AllowMissionReplay != MISSION_RETRY_STAGE_NORMAL) return; if (CanAllowMissionReplay()) - AllowMissionReplay = 1; + AllowMissionReplay = MISSION_RETRY_STAGE_WAIT_FOR_SCRIPT_TO_TERMINATE; #endif script_assert(m_nStackPointer > 0); while (m_nStackPointer > 1) |