summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-22 18:59:57 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-22 18:59:57 +0100
commitbdb216bf7c7192d35c247831f1feaf5c61ebadd8 (patch)
tree01590fb745611f0e9a6d51d972ceaa4abf89a197 /src/control
parentReenable PS2_AUDIO_PATHS (diff)
downloadre3-bdb216bf7c7192d35c247831f1feaf5c61ebadd8.tar
re3-bdb216bf7c7192d35c247831f1feaf5c61ebadd8.tar.gz
re3-bdb216bf7c7192d35c247831f1feaf5c61ebadd8.tar.bz2
re3-bdb216bf7c7192d35c247831f1feaf5c61ebadd8.tar.lz
re3-bdb216bf7c7192d35c247831f1feaf5c61ebadd8.tar.xz
re3-bdb216bf7c7192d35c247831f1feaf5c61ebadd8.tar.zst
re3-bdb216bf7c7192d35c247831f1feaf5c61ebadd8.zip
Diffstat (limited to 'src/control')
-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) {