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 New Issue
Block a user