summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2021-01-09 00:41:27 +0100
committerGitHub <noreply@github.com>2021-01-09 00:41:27 +0100
commitb7f9bfda4a88393b78f0f2e09489865413f69167 (patch)
tree9c041c61351198868a435da1fab5a11f7e44d48f /src/control/Script.cpp
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-b7f9bfda4a88393b78f0f2e09489865413f69167.tar
re3-b7f9bfda4a88393b78f0f2e09489865413f69167.tar.gz
re3-b7f9bfda4a88393b78f0f2e09489865413f69167.tar.bz2
re3-b7f9bfda4a88393b78f0f2e09489865413f69167.tar.lz
re3-b7f9bfda4a88393b78f0f2e09489865413f69167.tar.xz
re3-b7f9bfda4a88393b78f0f2e09489865413f69167.tar.zst
re3-b7f9bfda4a88393b78f0f2e09489865413f69167.zip
Diffstat (limited to 'src/control/Script.cpp')
-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++) {