]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/vehicles/raptor.qc
Send effects to client, allows mismatching effectinfo.txt
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / vehicles / raptor.qc
index 46ffea1f8d111afeec5ac1482264910907221880..d0b52a2108c92fd68a1b3d29ad93c7e36259a080 100644 (file)
@@ -717,7 +717,7 @@ void raptor_diethink()
     if(random() < 0.1)
     {
         sound (self, CH_SHOTS, "weapons/rocket_impact.wav", VOL_BASE, ATTEN_NORM);
-        pointparticles(particleeffectnum("explosion_small"), randomvec() * 80 + (self.origin + '0 0 100'), '0 0 0', 1);
+        Send_Effect("explosion_small", randomvec() * 80 + (self.origin + '0 0 100'), '0 0 0', 1);
     }
     self.nextthink = time + 0.1;
 }
@@ -734,7 +734,7 @@ void raptor_die()
     self.nextthink    = time;
     self.wait            = time + 5 + (random() * 5);
 
-    pointparticles(particleeffectnum("explosion_medium"), findbetterlocation (self.origin, 16), '0 0 0', 1);
+    Send_Effect("explosion_medium", findbetterlocation (self.origin, 16), '0 0 0', 1);
 
     self.velocity_z += 600;