mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-07 09:10:35 +00:00
fixed replay bugs
This commit is contained in:
parent
bfe382c315
commit
6d61f9d2e1
2 changed files with 12 additions and 2 deletions
|
@ -3293,9 +3293,15 @@ CPed::PedAnimStepOutCarCB(CAnimBlendAssociation* animAssoc, void* arg)
|
|||
}
|
||||
|
||||
if (ped->bFleeAfterExitingCar || ped->bGonnaKillTheCarJacker) {
|
||||
// POTENTIAL BUG? Why DOOR_FRONT_LEFT instead of door variable? or vice versa?
|
||||
#ifdef FIX_BUGS
|
||||
if (!veh->IsDoorMissing(door))
|
||||
((CAutomobile*)veh)->Damage.SetDoorStatus(door, DOOR_STATUS_SWINGING);
|
||||
PedSetOutCarCB(nil, ped);
|
||||
return;
|
||||
#else
|
||||
if (!veh->IsDoorMissing(door))
|
||||
((CAutomobile*)veh)->Damage.SetDoorStatus(DOOR_FRONT_LEFT, DOOR_STATUS_SWINGING);
|
||||
#endif
|
||||
} else {
|
||||
switch (door) {
|
||||
case DOOR_FRONT_LEFT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue