Fix HAS_OBJECT_BEEN_DAMAGED

This commit is contained in:
Sergeanur 2020-02-01 21:47:04 +02:00
parent ff831a8956
commit 2ff00bd0ee
1 changed files with 1 additions and 1 deletions

View File

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