friggin the riggin

This commit is contained in:
Nikolay Korolev
2021-07-25 11:58:03 +03:00
parent dc729009ac
commit b69222e017
4 changed files with 20 additions and 2 deletions

View File

@ -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");