summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-02-01 20:47:04 +0100
committerSergeanur <s.anureev@yandex.ua>2020-02-01 20:47:04 +0100
commit2ff00bd0ee64a1eb7713a969b319bd80bc486b2e (patch)
tree448d81fc638d0abebf0f3dd7698c0a427c111340 /src/control
parentRemoved dup hook (diff)
downloadre3-2ff00bd0ee64a1eb7713a969b319bd80bc486b2e.tar
re3-2ff00bd0ee64a1eb7713a969b319bd80bc486b2e.tar.gz
re3-2ff00bd0ee64a1eb7713a969b319bd80bc486b2e.tar.bz2
re3-2ff00bd0ee64a1eb7713a969b319bd80bc486b2e.tar.lz
re3-2ff00bd0ee64a1eb7713a969b319bd80bc486b2e.tar.xz
re3-2ff00bd0ee64a1eb7713a969b319bd80bc486b2e.tar.zst
re3-2ff00bd0ee64a1eb7713a969b319bd80bc486b2e.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script.cpp2
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: