summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-15 00:06:56 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-15 00:06:56 +0200
commitb354a72de1841d6df0df7a83776462c2c3ce5841 (patch)
tree2e584b62b2462c95ab2545ada772cd828367891b
parentfix (diff)
parentfixed crash (diff)
downloadre3-b354a72de1841d6df0df7a83776462c2c3ce5841.tar
re3-b354a72de1841d6df0df7a83776462c2c3ce5841.tar.gz
re3-b354a72de1841d6df0df7a83776462c2c3ce5841.tar.bz2
re3-b354a72de1841d6df0df7a83776462c2c3ce5841.tar.lz
re3-b354a72de1841d6df0df7a83776462c2c3ce5841.tar.xz
re3-b354a72de1841d6df0df7a83776462c2c3ce5841.tar.zst
re3-b354a72de1841d6df0df7a83776462c2c3ce5841.zip
-rw-r--r--src/control/Script.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index ff89f0fc..1f085d32 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -8921,6 +8921,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
UpdateCompareFlag(CCredits::AreCreditsDone());
return 0;
case COMMAND_CREATE_SINGLE_PARTICLE:
+ CollectParameters(&m_nIp, 8);
CParticle::AddParticle((tParticleType)ScriptParams[0], *(CVector*)&ScriptParams[1],
*(CVector*)&ScriptParams[4], nil, *(float*)&ScriptParams[7], 0, 0, 0, 0);
return 0;