diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-18 18:31:39 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-18 18:31:39 +0200 |
commit | 20ab7d1739f8678198c3c8883a20486f3adf1b0c (patch) | |
tree | c53038d810b744538f21a975ca8dc0f5667c4785 /src/control/RoadBlocks.cpp | |
parent | Fix attractor even more (diff) | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-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.cpp | 2 |
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); |