summaryrefslogtreecommitdiffstats
path: root/src/control/Script9.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-07-25 10:58:03 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-07-25 10:58:03 +0200
commitb69222e017560efb8abcff899a328e2879d271c7 (patch)
tree1ad242f91e9420f66531ca8758c899ac64d7e062 /src/control/Script9.cpp
parentMerge remote-tracking branch 'upstream/lcs' into lcs (diff)
downloadre3-b69222e017560efb8abcff899a328e2879d271c7.tar
re3-b69222e017560efb8abcff899a328e2879d271c7.tar.gz
re3-b69222e017560efb8abcff899a328e2879d271c7.tar.bz2
re3-b69222e017560efb8abcff899a328e2879d271c7.tar.lz
re3-b69222e017560efb8abcff899a328e2879d271c7.tar.xz
re3-b69222e017560efb8abcff899a328e2879d271c7.tar.zst
re3-b69222e017560efb8abcff899a328e2879d271c7.zip
Diffstat (limited to 'src/control/Script9.cpp')
-rw-r--r--src/control/Script9.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Script9.cpp b/src/control/Script9.cpp
index 579626f3..5793ca50 100644
--- a/src/control/Script9.cpp
+++ b/src/control/Script9.cpp
@@ -376,6 +376,7 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command)
}
case COMMAND_CLEAR_OBJECT_LAST_WEAPON_DAMAGE:
{
+ CollectParameters(&m_nIp, 1);
CObject* pObject = CPools::GetObjectPool()->GetAt(GET_INTEGER_PARAM(0));
if (!pObject)
printf("CLEAR_OBJECT_LAST_WEAPON_DAMAGE - pObject doesn\'t exist");