summaryrefslogtreecommitdiffstats
path: root/src/control/RoadBlocks.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/control/RoadBlocks.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/control/RoadBlocks.cpp')
-rw-r--r--src/control/RoadBlocks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/RoadBlocks.cpp b/src/control/RoadBlocks.cpp
index e7831b82..dee2cbe3 100644
--- a/src/control/RoadBlocks.cpp
+++ b/src/control/RoadBlocks.cpp
@@ -236,7 +236,7 @@ CRoadBlocks::CreateRoadBlockBetween2Points(CVector point1, CVector point2)
tmp.GetPosition().z += fModelRadius - 0.6f;
pVehicle->m_matrix = tmp;
pVehicle->PlaceOnRoadProperly();
- pVehicle->bIsStatic = false;
+ pVehicle->SetIsStatic(false);
pVehicle->m_matrix.UpdateRW();
pVehicle->m_nDoorLock = CARLOCK_UNLOCKED;
CCarCtrl::JoinCarWithRoadSystem(pVehicle);