]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_porto.qc
More tiny tweaks to cvar and comment
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_porto.qc
index 13847920f3519346aa1a1ad297e3acd99ecc640e..010a0f8b36546ccf7ad18a47b3460349b3d61a18 100644 (file)
@@ -269,10 +269,6 @@ float w_porto(float req)
        }
        else if (req == WR_SETUP)
                weapon_setup(WEP_PORTO);
-       else if (req == WR_SUICIDEMESSAGE)
-               w_deathtypestring = "did the impossible";
-       else if (req == WR_KILLMESSAGE)
-               w_deathtypestring = "felt # doing the impossible to him";
        else if (req == WR_RESETPLAYER)
        {
                self.porto_current = world;
@@ -283,6 +279,18 @@ float w_porto(float req)
 #ifdef CSQC
 float w_porto(float req)
 {
+       if(req == WR_IMPACTEFFECT)
+       {
+               print("Since when does Porto send DamageInfo?\n");
+       }
+       else if(req == WR_PRECACHE)
+       {
+               // nothing to do
+       }
+       else if (req == WR_SUICIDEMESSAGE)
+               w_deathtypestring = "%s did the impossible";
+       else if (req == WR_KILLMESSAGE)
+               w_deathtypestring = "%s felt %s doing the impossible to him";
        return TRUE;
 }
 #endif