]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/vehicles/raptor.qc
Kill credits to whoever made a vehicle blow up and killing someone else
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / vehicles / raptor.qc
index ad5252dfd868c83a4805d1e75fe2b05c4a25eec8..4bf674e1b09defe6448a8d0fff1182a3cdf6cc1c 100644 (file)
@@ -554,7 +554,7 @@ void raptor_blowup()
 {
     self.deadflag    = DEAD_DEAD;
     self.vehicle_exit(VHEF_NORMAL);
-    RadiusDamage (self, self, 250, 15, 250, world, 250, DEATH_WAKIBLOWUP, world);
+    RadiusDamage (self, self.enemy, 250, 15, 250, world, 250, DEATH_WAKIBLOWUP, world);
 
     self.alpha          = -1;
     self.movetype       = MOVETYPE_NONE;