summaryrefslogtreecommitdiffstats
path: root/src/control/RoadBlocks.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-18 16:17:11 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-18 16:17:11 +0200
commit8697eebbc237ceb0ed0d395a8c22440b9a1c15b8 (patch)
treeed2b2d923a03196c639e6f897f404b1caec0772d /src/control/RoadBlocks.cpp
parentMerge remote-tracking branch 'origin/miami' into VC/Pickups (diff)
parentMerge branch 'master' into miami (diff)
downloadre3-8697eebbc237ceb0ed0d395a8c22440b9a1c15b8.tar
re3-8697eebbc237ceb0ed0d395a8c22440b9a1c15b8.tar.gz
re3-8697eebbc237ceb0ed0d395a8c22440b9a1c15b8.tar.bz2
re3-8697eebbc237ceb0ed0d395a8c22440b9a1c15b8.tar.lz
re3-8697eebbc237ceb0ed0d395a8c22440b9a1c15b8.tar.xz
re3-8697eebbc237ceb0ed0d395a8c22440b9a1c15b8.tar.zst
re3-8697eebbc237ceb0ed0d395a8c22440b9a1c15b8.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);