diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 4ddbfbf0..6de072d1 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -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: |