diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-08 17:17:20 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-08 17:17:20 +0300 |
commit | 947f67dfb770669bae81920a0a1525b0666bfe9c (patch) | |
tree | 0597056b93949af95e2bdeb2d90ca90712aad758 /src/control | |
parent | 63046894b099598c41096651a9816ee3adc032a4 (diff) |
small fix
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Script.cpp | 2 | ||||
-rw-r--r-- | src/control/Script.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index bcfc6078..4501c27f 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -677,7 +677,7 @@ void CTheScripts::Process() break; case MISSION_RETRY_STAGE_WAIT_FOR_MENU: AllowMissionReplay = MISSION_RETRY_STAGE_WAIT_FOR_USER; - RetryMission(0, 0); + RetryMission(MISSION_RETRY_TYPE_SUGGEST_TO_PLAYER); break; case MISSION_RETRY_STAGE_START_RESTARTING: AllowMissionReplay = MISSION_RETRY_STAGE_WAIT_FOR_TIMER_AFTER_RESTART; diff --git a/src/control/Script.h b/src/control/Script.h index 7b0f9a2e..eedf17d4 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -605,7 +605,7 @@ extern int missionRetryScriptIndex; extern bool doingMissionRetry; uint32 AddExtraDeathDelay(); -void RetryMission(int, int); +void RetryMission(int, int unk = 0); enum { MISSION_RETRY_TYPE_SUGGEST_TO_PLAYER = 0, |