]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/vehicle/racer.qc
Introduce touch accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / vehicle / racer.qc
index 26221f5edcd2b812dc9f6cd02394b54e384df763..e79cab9ecaf59c8a46f037c3a001ede476d67fa6 100644 (file)
@@ -638,7 +638,7 @@ METHOD(Racer, vr_death, void(Racer thisveh, entity instance))
     instance.wait                      = time;
     instance.delay                     = 2 + time + random() * 3;
     instance.cnt                       = 1 + random() * 2;
-    instance.touch                     = racer_deadtouch;
+    settouch(instance, racer_deadtouch);
 
     Send_Effect(EFFECT_EXPLOSION_MEDIUM, instance.origin, '0 0 0', 1);