summaryrefslogtreecommitdiffstats
path: root/src/control/Script9.cpp
diff options
context:
space:
mode:
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");