From ed799fb5550f7269455d165a9e69477bbcbc51ec Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Mon, 31 Aug 2020 00:07:29 +0300 Subject: script inaccuracy --- src/control/Script.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/control/Script.cpp b/src/control/Script.cpp index bf761a3f..b978d889 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; -- cgit v1.2.3 From 647ddfa05e43fed31fedfaa34b06f0d2f6e5ea43 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Mon, 31 Aug 2020 17:18:37 +0300 Subject: more fix --- src/control/Script.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3