]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_rocketlauncher.qc
when calling hooks, use a final \n and not ;
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_rocketlauncher.qc
index f6975b3b6a0d13d6903830adc2526c8c9940110f..35ca569777f4cce38f988bcb93ad9671352fcac6 100644 (file)
@@ -544,17 +544,6 @@ float w_rlauncher(float req)
        }
        else if (req == WR_CHECKAMMO2)
                return FALSE;
-       else if (req == WR_SUICIDEMESSAGE)
-               w_deathtypestring = "exploded";
-       else if (req == WR_KILLMESSAGE)
-       {
-               if(w_deathtype & HITTYPE_BOUNCE) // (remote detonation)
-                       w_deathtypestring = "got too close to #'s rocket";
-               else if(w_deathtype & HITTYPE_SPLASH)
-                       w_deathtypestring = "almost dodged #'s rocket";
-               else
-                       w_deathtypestring = "ate #'s rocket";
-       }
        else if (req == WR_RESETPLAYER)
        {
                self.rl_release = 0;
@@ -577,6 +566,17 @@ float w_rlauncher(float req)
        {
                precache_sound("weapons/rocket_impact.wav");
        }
+       else if (req == WR_SUICIDEMESSAGE)
+               w_deathtypestring = "exploded";
+       else if (req == WR_KILLMESSAGE)
+       {
+               if(w_deathtype & HITTYPE_BOUNCE) // (remote detonation)
+                       w_deathtypestring = "got too close to #'s rocket";
+               else if(w_deathtype & HITTYPE_SPLASH)
+                       w_deathtypestring = "almost dodged #'s rocket";
+               else
+                       w_deathtypestring = "ate #'s rocket";
+       }
        return TRUE;
 }
 #endif