summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-17 15:18:33 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-17 15:18:33 +0200
commit06ba7ef4685666f3ba735f3ce3ba1082a346cfc9 (patch)
treee214afb8534554a8cbf4a1f14add468e2252de2b /src
parentrenamed some variables and added files; more CAutomobile::ProcessControl (diff)
downloadre3-06ba7ef4685666f3ba735f3ce3ba1082a346cfc9.tar
re3-06ba7ef4685666f3ba735f3ce3ba1082a346cfc9.tar.gz
re3-06ba7ef4685666f3ba735f3ce3ba1082a346cfc9.tar.bz2
re3-06ba7ef4685666f3ba735f3ce3ba1082a346cfc9.tar.lz
re3-06ba7ef4685666f3ba735f3ce3ba1082a346cfc9.tar.xz
re3-06ba7ef4685666f3ba735f3ce3ba1082a346cfc9.tar.zst
re3-06ba7ef4685666f3ba735f3ce3ba1082a346cfc9.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Automobile.cpp1
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);