friggin the riggin

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

No files matched your search

+1
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");