summaryrefslogtreecommitdiffstats
path: root/src/peds/Population.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-18 15:40:06 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-18 15:40:06 +0200
commitb91f6a45501634b55f6ef2c08d57c5293d5fd3a0 (patch)
tree34cdedbe9dda385d48a416d1c26ef220132d35f0 /src/peds/Population.cpp
parentCleanup breaks CAutomobile::ProcessOpenDoor (diff)
downloadre3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar
re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.gz
re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.bz2
re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.lz
re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.xz
re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.zst
re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Population.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp
index a1bde005..b3eaf471 100644
--- a/src/peds/Population.cpp
+++ b/src/peds/Population.cpp
@@ -972,7 +972,7 @@ CPopulation::ConvertToRealObject(CDummyObject *dummy)
if (IsGlass(obj->GetModelIndex())) {
obj->bIsVisible = false;
} else if (obj->GetModelIndex() == MI_BUOY) {
- obj->bIsStatic = false;
+ obj->SetIsStatic(false);
obj->m_vecMoveSpeed = CVector(0.0f, 0.0f, -0.001f);
obj->bTouchingWater = true;
obj->AddToMovingList();