mirror of
https://github.com/halpz/re3.git
synced 2025-06-28 15:26:19 +00:00
fixed double explosion
This commit is contained in:
@ -4246,7 +4246,9 @@ CPed::PedSetOutCarCB(CAnimBlendAssociation *animAssoc, void *arg)
|
||||
veh->m_nGettingOutFlags &= ~GetCarDoorFlag(ped->m_vehEnterType);
|
||||
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())
|
||||
|
Reference in New Issue
Block a user