mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 00:08:59 +00:00
dodo crash fix
This commit is contained in:
parent
0f1fbf5e9a
commit
06ba7ef468
1 changed files with 1 additions and 0 deletions
|
@ -900,6 +900,7 @@ CAutomobile::BlowUpCar(CEntity *culprit)
|
||||||
SetDoorDamage(CAR_DOOR_LR, DOOR_REAR_LEFT);
|
SetDoorDamage(CAR_DOOR_LR, DOOR_REAR_LEFT);
|
||||||
SetDoorDamage(CAR_DOOR_RR, DOOR_REAR_RIGHT);
|
SetDoorDamage(CAR_DOOR_RR, DOOR_REAR_RIGHT);
|
||||||
SpawnFlyingComponent(CAR_WHEEL_LF, COMPGROUP_WHEEL);
|
SpawnFlyingComponent(CAR_WHEEL_LF, COMPGROUP_WHEEL);
|
||||||
|
atomic = nil;
|
||||||
RwFrameForAllObjects(m_aCarNodes[CAR_WHEEL_LF], GetCurrentAtomicObjectCB, &atomic);
|
RwFrameForAllObjects(m_aCarNodes[CAR_WHEEL_LF], GetCurrentAtomicObjectCB, &atomic);
|
||||||
if(atomic)
|
if(atomic)
|
||||||
RpAtomicSetFlags(atomic, 0);
|
RpAtomicSetFlags(atomic, 0);
|
||||||
|
|
Loading…
Reference in a new issue