X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_uzi.qc;h=b11e490f4e40aba839ee3bded58a12460ed2e4ae;hb=901dc942e7c56dd7b9e986f9ba29763a825c6550;hp=5879b00b8c029a9ddb516d8e7fc5ae9c65108559;hpb=99cb391b8d83f0efdb2c9aeb7ccc50683dfd0b55;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_uzi.qc b/qcsrc/server/w_uzi.qc index 5879b00b8..b11e490f4 100644 --- a/qcsrc/server/w_uzi.qc +++ b/qcsrc/server/w_uzi.qc @@ -126,15 +126,6 @@ float w_uzi(float req) return self.ammo_nails >= cvar("g_balance_uzi_first_ammo"); else if (req == WR_CHECKAMMO2) return self.ammo_nails >= cvar("g_balance_uzi_first_ammo"); - else if (req == WR_SUICIDEMESSAGE) - w_deathtypestring = "did the impossible"; - else if (req == WR_KILLMESSAGE) - { - if(w_deathtype & HITTYPE_SECONDARY) - w_deathtypestring = "was sniped by"; - else - w_deathtypestring = "was riddled full of holes by"; - } return TRUE; }; #endif @@ -160,6 +151,15 @@ float w_uzi(float req) precache_sound("weapons/ric2.wav"); precache_sound("weapons/ric3.wav"); } + else if (req == WR_SUICIDEMESSAGE) + w_deathtypestring = "%s did the impossible"; + else if (req == WR_KILLMESSAGE) + { + if(w_deathtype & HITTYPE_SECONDARY) + w_deathtypestring = "%s was sniped by %s"; + else + w_deathtypestring = "%s was riddled full of holes by %s"; + } return TRUE; } #endif