summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-09 01:38:39 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-09 01:38:39 +0100
commit6b78bab99a468f6df7383f4ab0b63d84271338cb (patch)
tree7c9db254aad499bf76ab48f7fd1c31f55552c88e /src
parentuseless fix (diff)
parentfail (diff)
downloadre3-6b78bab99a468f6df7383f4ab0b63d84271338cb.tar
re3-6b78bab99a468f6df7383f4ab0b63d84271338cb.tar.gz
re3-6b78bab99a468f6df7383f4ab0b63d84271338cb.tar.bz2
re3-6b78bab99a468f6df7383f4ab0b63d84271338cb.tar.lz
re3-6b78bab99a468f6df7383f4ab0b63d84271338cb.tar.xz
re3-6b78bab99a468f6df7383f4ab0b63d84271338cb.tar.zst
re3-6b78bab99a468f6df7383f4ab0b63d84271338cb.zip
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++) {