summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-18 15:55:11 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-18 15:55:11 +0200
commitcc0ae516319a028cd1ef1b317a26d58ef17ee6d0 (patch)
tree2018161cba8cf333845d7654df0fca48e8eb29c5 /src
parentSetter for bIsStatic (became virtual in SA) (diff)
downloadre3-cc0ae516319a028cd1ef1b317a26d58ef17ee6d0.tar
re3-cc0ae516319a028cd1ef1b317a26d58ef17ee6d0.tar.gz
re3-cc0ae516319a028cd1ef1b317a26d58ef17ee6d0.tar.bz2
re3-cc0ae516319a028cd1ef1b317a26d58ef17ee6d0.tar.lz
re3-cc0ae516319a028cd1ef1b317a26d58ef17ee6d0.tar.xz
re3-cc0ae516319a028cd1ef1b317a26d58ef17ee6d0.tar.zst
re3-cc0ae516319a028cd1ef1b317a26d58ef17ee6d0.zip
Diffstat (limited to 'src')
-rw-r--r--src/control/Script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index efd17f25..50e89ecc 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -9184,13 +9184,13 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]);
script_assert(pObject);
if (ScriptParams[1]) {
- if (pObject->GetIsStatic()) {
+ if (pObject->bIsStatic) {
pObject->SetIsStatic(false);
pObject->AddToMovingList();
}
}
else {
- if (!pObject->GetIsStatic()) {
+ if (!pObject->bIsStatic) {
pObject->SetIsStatic(true);
pObject->RemoveFromMovingList();
}