]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_minstanex.qc
ipban: support v6 IPs (mapping mask 1 to /16, 2 to /32, 3 to /48, 4 to /64)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_minstanex.qc
index f28c8581cc5ee3c6fa2550561a6c994f8fcd55a5..352aa2b25c6edfee928e7b3541eb51f9b9a58ad5 100644 (file)
@@ -232,10 +232,6 @@ float w_minstanex(float req)
        }
        else if (req == WR_CHECKAMMO2)
                return TRUE;
-       else if (req == WR_SUICIDEMESSAGE)
-               w_deathtypestring = "did the impossible";
-       else if (req == WR_KILLMESSAGE)
-               w_deathtypestring = "has been vaporized by";
        else if (req == WR_RESETPLAYER)
        {
                self.minstanex_lasthit = 0;
@@ -258,6 +254,10 @@ float w_minstanex(float req)
        {
                precache_sound("weapons/neximpact.wav");
        }
+       else if (req == WR_SUICIDEMESSAGE)
+               w_deathtypestring = "%s did the impossible";
+       else if (req == WR_KILLMESSAGE)
+               w_deathtypestring = "%s has been vaporized by %s";
        return TRUE;
 }
 #endif