dodo crash fix
This commit is contained in:
parent
0f1fbf5e9a
commit
06ba7ef468
@ -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 New Issue
Block a user