summaryrefslogtreecommitdiffstats
path: root/src/control/RoadBlocks.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-10-18 16:30:51 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-10-18 16:30:51 +0200
commitd7789661cda9c07988834aa9c6c53d5cee888612 (patch)
treeb17c3aa13c73ea0f21d645962dccea83486d9dc7 /src/control/RoadBlocks.cpp
parentfix in ped attractor (diff)
parentMerge branch 'master' into miami (diff)
downloadre3-d7789661cda9c07988834aa9c6c53d5cee888612.tar
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.gz
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.bz2
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.lz
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.xz
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.zst
re3-d7789661cda9c07988834aa9c6c53d5cee888612.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);