summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-09-01 17:30:59 +0200
committerGitHub <noreply@github.com>2020-09-01 17:30:59 +0200
commite3f607dba0ae227ee72f0931bc91da6351d698df (patch)
tree7c82c81f7eda4dde3c0ba38faaaa615f4f6c5c97 /src/control
parentMerge pull request #696 from Fire-Head/miami (diff)
parentmore fix (diff)
downloadre3-e3f607dba0ae227ee72f0931bc91da6351d698df.tar
re3-e3f607dba0ae227ee72f0931bc91da6351d698df.tar.gz
re3-e3f607dba0ae227ee72f0931bc91da6351d698df.tar.bz2
re3-e3f607dba0ae227ee72f0931bc91da6351d698df.tar.lz
re3-e3f607dba0ae227ee72f0931bc91da6351d698df.tar.xz
re3-e3f607dba0ae227ee72f0931bc91da6351d698df.tar.zst
re3-e3f607dba0ae227ee72f0931bc91da6351d698df.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script.cpp1
-rw-r--r--src/control/Script.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 0921d1c6..b313e308 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -2174,6 +2174,7 @@ void CRunningScript::Init()
m_anStack[i] = 0;
m_nStackPointer = 0;
m_nWakeTime = 0;
+ m_bIsActive = false;
m_bCondResult = false;
m_bIsMissionScript = false;
m_bSkipWakeTime = false;
diff --git a/src/control/Script.h b/src/control/Script.h
index 42f9cbff..4493ade3 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -122,7 +122,7 @@ struct CMissionCleanupEntity
enum {
MAX_CLEANUP = 50,
MAX_UPSIDEDOWN_CAR_CHECKS = 6,
- MAX_STUCK_CAR_CHECKS = 6
+ MAX_STUCK_CAR_CHECKS = 16
};
class CMissionCleanup