diff options
author | aap <aap@papnet.eu> | 2020-05-26 11:25:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 11:25:23 +0200 |
commit | 0b8f045d363dec9e9bf96d98995b339e12e04bd6 (patch) | |
tree | 86df5a8337edb1af67275219cef37d235aaebdf7 /src/control/CarCtrl.cpp | |
parent | fixed filename (diff) | |
parent | CVehicle (diff) | |
download | re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.gz re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.bz2 re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.lz re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.xz re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.zst re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.zip |
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r-- | src/control/CarCtrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index 073195a4..1004e5de 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -913,7 +913,7 @@ CCarCtrl::RemoveDistantCars() PossiblyRemoveVehicle(pVehicle); if (pVehicle->bCreateRoadBlockPeds){ if ((pVehicle->GetPosition() - FindPlayerCentreOfWorld(CWorld::PlayerInFocus)).Magnitude2D() < DISTANCE_TO_SPAWN_ROADBLOCK_PEDS) { - CRoadBlocks::GenerateRoadBlockCopsForCar(pVehicle, pVehicle->m_nRoadblockType, pVehicle->m_nRoadblockNode); + CRoadBlocks::GenerateRoadBlockCopsForCar(pVehicle, pVehicle->m_nRoadblockType); pVehicle->bCreateRoadBlockPeds = false; } } |