This commit is contained in:
Nikolay Korolev
2021-01-22 20:59:57 +03:00
parent e019bd91fd
commit bdb216bf7c
2 changed files with 2 additions and 1 deletions

View File

@ -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) {