diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-07-25 10:58:03 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-07-25 10:58:03 +0200 |
commit | b69222e017560efb8abcff899a328e2879d271c7 (patch) | |
tree | 1ad242f91e9420f66531ca8758c899ac64d7e062 /src/control/Script9.cpp | |
parent | Merge remote-tracking branch 'upstream/lcs' into lcs (diff) | |
download | re3-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 '')
-rw-r--r-- | src/control/Script9.cpp | 1 |
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"); |