summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2021-01-09 02:41:27 +0300
committerGitHub <noreply@github.com>2021-01-09 02:41:27 +0300
commitb7f9bfda4a88393b78f0f2e09489865413f69167 (patch)
tree9c041c61351198868a435da1fab5a11f7e44d48f /src
parent91c6389754204c7cc419cecb4b73d576106890c3 (diff)
fail
Diffstat (limited to 'src')
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 23527e55..8cac88d6 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -3108,7 +3108,7 @@ int8 CRunningScript::ProcessCommands0To99(int32 command)
CollectParameters(&m_nIp, 1);
script_assert(ScriptParams[0] >= 0);
CRunningScript* pNew = CTheScripts::StartNewScript(ScriptParams[0]);
- m_bIsActive = true;
+ pNew->m_bIsActive = true;
int8 type = CTheScripts::Read1ByteFromScript(&m_nIp);
float tmp;
for (int i = 0; type != ARGUMENT_END; type = CTheScripts::Read1ByteFromScript(&m_nIp), i++) {