mirror of
https://github.com/halpz/re3.git
synced 2025-08-04 03:17:54 +00:00
CVehicle loose ends
This commit is contained in:
@ -273,12 +273,13 @@ CAutomobile::ProcessControl(void)
|
||||
}
|
||||
|
||||
// Process driver
|
||||
if(IsUpsideDown() && CanPedEnterCar()){
|
||||
if(!pDriver->IsPlayer() &&
|
||||
!(pDriver->m_leader && pDriver->m_leader->bInVehicle) &&
|
||||
pDriver->CharCreatedBy != MISSION_CHAR)
|
||||
pDriver->SetObjective(OBJECTIVE_LEAVE_VEHICLE, this);
|
||||
}
|
||||
if(pDriver)
|
||||
if(IsUpsideDown() && CanPedEnterCar()){
|
||||
if(!pDriver->IsPlayer() &&
|
||||
!(pDriver->m_leader && pDriver->m_leader->bInVehicle) &&
|
||||
pDriver->CharCreatedBy != MISSION_CHAR)
|
||||
pDriver->SetObjective(OBJECTIVE_LEAVE_VEHICLE, this);
|
||||
}
|
||||
|
||||
ActivateBombWhenEntered();
|
||||
|
||||
|
Reference in New Issue
Block a user