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 3ad8e180..c936e68f 100644
--- a/src/control/Script9.cpp
+++ b/src/control/Script9.cpp
@@ -359,6 +359,7 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command)
return 0;
case COMMAND_HAS_OBJECT_BEEN_DAMAGED_BY_WEAPON:
{
+ CollectParameters(&m_nIp, 2);
CObject* pObject = CPools::GetObjectPool()->GetAt(GET_INTEGER_PARAM(0));
bool result = false;
if (!pObject) {