diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-18 15:40:06 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-18 15:40:06 +0200 |
commit | b91f6a45501634b55f6ef2c08d57c5293d5fd3a0 (patch) | |
tree | 34cdedbe9dda385d48a416d1c26ef220132d35f0 /src/control/RoadBlocks.cpp | |
parent | Cleanup breaks CAutomobile::ProcessOpenDoor (diff) | |
download | re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.gz re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.bz2 re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.lz re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.xz re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.tar.zst re3-b91f6a45501634b55f6ef2c08d57c5293d5fd3a0.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 86b4caf1..1496b307 100644 --- a/src/control/RoadBlocks.cpp +++ b/src/control/RoadBlocks.cpp @@ -165,7 +165,7 @@ CRoadBlocks::GenerateRoadBlocks(void) vehicleMatrix.GetPosition().z += fModelRadius - 0.6f; pVehicle->m_matrix = vehicleMatrix; pVehicle->PlaceOnRoadProperly(); - pVehicle->bIsStatic = false; + pVehicle->SetIsStatic(false); pVehicle->m_matrix.UpdateRW(); pVehicle->m_nDoorLock = CARLOCK_UNLOCKED; CCarCtrl::JoinCarWithRoadSystem(pVehicle); |