summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
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