From 0c4ab5b6097692667cd1469899e2eae78fad6be6 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 8 Aug 2021 10:51:04 +0300 Subject: disable mission replay for lcs --- src/control/Script.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/control/Script.h') diff --git a/src/control/Script.h b/src/control/Script.h index 98db6c89..589127e5 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -668,7 +668,7 @@ public: #ifdef USE_MISSION_REPLAY_OVERRIDE_FOR_NON_MOBILE_SCRIPT static bool MissionSupportsMissionReplay(int index) { - return index >= 3 && index <= 35 || index >= 51 && index <= 65 || index >= 67 && index <= 74 || index >= 83 && index <= 87; + return (index >= 48 && index <= 61) || (index >= 63 && index <= 117); } #endif static bool IsFortStauntonDestroyed() { return FSDestroyedFlag && *(int32*)&ScriptSpace[FSDestroyedFlag] == 1; } @@ -700,7 +700,6 @@ extern int IsInAmmunation; extern int MissionSkipLevel; #ifdef USE_MISSION_REPLAY_OVERRIDE_FOR_NON_MOBILE_SCRIPT -extern bool UsingMobileScript; extern bool AlreadySavedGame; #endif -- cgit v1.2.3