summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-08 09:51:04 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-08 09:51:04 +0200
commit0c4ab5b6097692667cd1469899e2eae78fad6be6 (patch)
tree792a8821e1a799810ff5c6be9717844e8b9f0bbb /src/control/Script.h
parentmore cherry-pick fix (diff)
downloadre3-0c4ab5b6097692667cd1469899e2eae78fad6be6.tar
re3-0c4ab5b6097692667cd1469899e2eae78fad6be6.tar.gz
re3-0c4ab5b6097692667cd1469899e2eae78fad6be6.tar.bz2
re3-0c4ab5b6097692667cd1469899e2eae78fad6be6.tar.lz
re3-0c4ab5b6097692667cd1469899e2eae78fad6be6.tar.xz
re3-0c4ab5b6097692667cd1469899e2eae78fad6be6.tar.zst
re3-0c4ab5b6097692667cd1469899e2eae78fad6be6.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h3
1 files changed, 1 insertions, 2 deletions
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