From bdb216bf7c7192d35c247831f1feaf5c61ebadd8 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Fri, 22 Jan 2021 20:59:57 +0300 Subject: fix --- src/control/Script9.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/control/Script9.cpp') 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) { -- cgit v1.2.3