summaryrefslogtreecommitdiffstats
path: root/src/peds/Population.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-10-18 18:31:39 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2020-10-18 18:31:39 +0200
commit20ab7d1739f8678198c3c8883a20486f3adf1b0c (patch)
treec53038d810b744538f21a975ca8dc0f5667c4785 /src/peds/Population.cpp
parentFix attractor even more (diff)
parentMerge branch 'master' into miami (diff)
downloadre3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar
re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.gz
re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.bz2
re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.lz
re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.xz
re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.zst
re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.zip
Diffstat (limited to 'src/peds/Population.cpp')
-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 94533f4a..d52c8c7c 100644
--- a/src/peds/Population.cpp
+++ b/src/peds/Population.cpp
@@ -945,7 +945,7 @@ CPopulation::ConvertToRealObject(CDummyObject *dummy)
if (IsGlass(obj->GetModelIndex()) && !mi->m_isArtistGlass) {
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();