mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-18 06:39:22 +00:00
Bettah car enter canceling, fix CFO crash, ped objs. renaming
This commit is contained in:
parent
ed036df3ce
commit
15548758ac
17 changed files with 150 additions and 126 deletions
|
@ -669,12 +669,12 @@ CVehicle::InflictDamage(CEntity* damagedBy, eWeaponType weaponType, float damage
|
|||
if (pDriver) {
|
||||
SetStatus(STATUS_ABANDONED);
|
||||
pDriver->bFleeAfterExitingCar = true;
|
||||
pDriver->SetObjective(OBJECTIVE_LEAVE_VEHICLE, this);
|
||||
pDriver->SetObjective(OBJECTIVE_LEAVE_CAR, this);
|
||||
}
|
||||
for (int i = 0; i < m_nNumMaxPassengers; i++) {
|
||||
if (pPassengers[i]) {
|
||||
pPassengers[i]->bFleeAfterExitingCar = true;
|
||||
pPassengers[i]->SetObjective(OBJECTIVE_LEAVE_VEHICLE, this);
|
||||
pPassengers[i]->SetObjective(OBJECTIVE_LEAVE_CAR, this);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue