Fix HAS_OBJECT_BEEN_DAMAGED

This commit is contained in:
Sergeanur 2020-02-01 21:47:04 +02:00
parent ff831a8956
commit 2ff00bd0ee

View File

@ -7238,7 +7238,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
CollectParameters(&m_nIp, 1);
CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]);
assert(pObject);
UpdateCompareFlag(pObject->bHasBeenDamaged || !pObject->bIsVisible);
UpdateCompareFlag(pObject->bRenderDamaged || !pObject->bIsVisible);
return 0;
}
case COMMAND_START_KILL_FRENZY_HEADSHOT: