summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-10-12 22:36:45 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commit43866a4f7033fbb2ea1d515c037f291e0f377165 (patch)
tree7fe4da06f327325a0fd7377b4f9490b3ad833087
parentCleanup audio (diff)
downloadre3-43866a4f7033fbb2ea1d515c037f291e0f377165.tar
re3-43866a4f7033fbb2ea1d515c037f291e0f377165.tar.gz
re3-43866a4f7033fbb2ea1d515c037f291e0f377165.tar.bz2
re3-43866a4f7033fbb2ea1d515c037f291e0f377165.tar.lz
re3-43866a4f7033fbb2ea1d515c037f291e0f377165.tar.xz
re3-43866a4f7033fbb2ea1d515c037f291e0f377165.tar.zst
re3-43866a4f7033fbb2ea1d515c037f291e0f377165.zip
-rw-r--r--src/control/CarAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarAI.cpp b/src/control/CarAI.cpp
index b4dd8777..c2f2bb43 100644
--- a/src/control/CarAI.cpp
+++ b/src/control/CarAI.cpp
@@ -592,7 +592,7 @@ void CCarAI::MakeWayForCarWithSiren(CVehicle *pVehicle)
CVehicle* vehicle = CPools::GetVehiclePool()->GetSlot(i);
if (!vehicle)
continue;
- if (vehicle->m_vehType != VEHICLE_TYPE_CAR && vehicle->m_vehType != VEHICLE_TYPE_BIKE)
+ if (vehicle->m_vehType != VEHICLE_TYPE_AUTOMOBILE && vehicle->m_vehType != VEHICLE_TYPE_BIKE)
continue;
if (vehicle->m_status != STATUS_SIMPLE && vehicle->m_status != STATUS_PHYSICS)
continue;