diff options
author | aap <aap@papnet.eu> | 2019-07-17 15:19:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-17 15:19:39 +0200 |
commit | 1a3b56fd9cf3535a36f0dd9163e38b1009158635 (patch) | |
tree | e214afb8534554a8cbf4a1f14add468e2252de2b | |
parent | renamed some variables and added files; more CAutomobile::ProcessControl (diff) | |
parent | dodo crash fix (diff) | |
download | re3-1a3b56fd9cf3535a36f0dd9163e38b1009158635.tar re3-1a3b56fd9cf3535a36f0dd9163e38b1009158635.tar.gz re3-1a3b56fd9cf3535a36f0dd9163e38b1009158635.tar.bz2 re3-1a3b56fd9cf3535a36f0dd9163e38b1009158635.tar.lz re3-1a3b56fd9cf3535a36f0dd9163e38b1009158635.tar.xz re3-1a3b56fd9cf3535a36f0dd9163e38b1009158635.tar.zst re3-1a3b56fd9cf3535a36f0dd9163e38b1009158635.zip |
-rw-r--r-- | src/vehicles/Automobile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 6e31414f..0cfe31cc 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -900,6 +900,7 @@ CAutomobile::BlowUpCar(CEntity *culprit) SetDoorDamage(CAR_DOOR_LR, DOOR_REAR_LEFT); SetDoorDamage(CAR_DOOR_RR, DOOR_REAR_RIGHT); SpawnFlyingComponent(CAR_WHEEL_LF, COMPGROUP_WHEEL); + atomic = nil; RwFrameForAllObjects(m_aCarNodes[CAR_WHEEL_LF], GetCurrentAtomicObjectCB, &atomic); if(atomic) RpAtomicSetFlags(atomic, 0); |