summaryrefslogtreecommitdiff
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-01 14:53:20 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-01 14:53:20 +0300
commit9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69 (patch)
tree49f4d64c4ee48b03e9ac032fca6b97259d181935 /src/peds/Ped.cpp
parentc74c7ce1d4ad0c4ec72d5ea4cc22f265d89edce7 (diff)
parent2f05c64470a2b04439a07646662ac6afb57901f5 (diff)
merge master to miami
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index e408c5bb..b8afaeab 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -4105,7 +4105,9 @@ CPed::PedSetOutCarCB(CAnimBlendAssociation *animAssoc, void *arg)
if (veh->pDriver == ped) {
veh->RemoveDriver();
+#ifndef FIX_BUGS // RemoveDriver does it anyway
veh->SetStatus(STATUS_ABANDONED);
+#endif
if (veh->m_nDoorLock == CARLOCK_LOCKED_INITIALLY)
veh->m_nDoorLock = CARLOCK_UNLOCKED;
if (ped->m_nPedType == PEDTYPE_COP && veh->IsLawEnforcementVehicle())