1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 23:20:01 +00:00

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); 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: