mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 23:30:01 +00:00
Fix HAS_OBJECT_BEEN_DAMAGED
This commit is contained in:
parent
ff831a8956
commit
2ff00bd0ee
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue