summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-14 23:33:55 +0200
committerGitHub <noreply@github.com>2020-04-14 23:33:55 +0200
commit70b51d42f4052cdf56a97dd389e0b773313fc887 (patch)
tree9384394c89a0d8f0b5d912b562ac66d4065e3fdb
parentRwMatFX support with linked RW libs (diff)
downloadre3-70b51d42f4052cdf56a97dd389e0b773313fc887.tar
re3-70b51d42f4052cdf56a97dd389e0b773313fc887.tar.gz
re3-70b51d42f4052cdf56a97dd389e0b773313fc887.tar.bz2
re3-70b51d42f4052cdf56a97dd389e0b773313fc887.tar.lz
re3-70b51d42f4052cdf56a97dd389e0b773313fc887.tar.xz
re3-70b51d42f4052cdf56a97dd389e0b773313fc887.tar.zst
re3-70b51d42f4052cdf56a97dd389e0b773313fc887.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;