]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_uzi.qc
sprintf'd death messages
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_uzi.qc
index 245ad652f6d8bb33eab902171e4975c7580195af..b11e490f4e40aba839ee3bded58a12460ed2e4ae 100644 (file)
@@ -152,13 +152,13 @@ float w_uzi(float req)
                precache_sound("weapons/ric3.wav");
        }
        else if (req == WR_SUICIDEMESSAGE)
-               w_deathtypestring = "did the impossible";
+               w_deathtypestring = "%s did the impossible";
        else if (req == WR_KILLMESSAGE)
        {
                if(w_deathtype & HITTYPE_SECONDARY)
-                       w_deathtypestring = "was sniped by";
+                       w_deathtypestring = "%s was sniped by %s";
                else
-                       w_deathtypestring = "was riddled full of holes by";
+                       w_deathtypestring = "%s was riddled full of holes by %s";
        }
        return TRUE;
 }