X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_hook.qc;h=70fe77814de201e42e9f583d1e7b49c3da89e8a2;hb=ca4b93ed723cab84606033100e7a75e842222780;hp=9e5868355991106d4b48cd6feae4171c2903802d;hpb=83b0c96edec0a188371873bb83b15d024568bca3;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_hook.qc b/qcsrc/server/w_hook.qc index 9e5868355..70fe77814 100644 --- a/qcsrc/server/w_hook.qc +++ b/qcsrc/server/w_hook.qc @@ -239,10 +239,6 @@ float w_hook(float req) { return self.ammo_cells >= cvar("g_balance_hook_secondary_ammo"); } - else if (req == WR_SUICIDEMESSAGE) - w_deathtypestring = "did the impossible"; - else if (req == WR_KILLMESSAGE) - w_deathtypestring = "has run into #'s gravity bomb"; else if (req == WR_RESETPLAYER) { self.hook_refire = time; @@ -265,6 +261,10 @@ float w_hook(float req) { precache_sound("weapons/hookbomb_impact.wav"); } + else if (req == WR_SUICIDEMESSAGE) + w_deathtypestring = "%s did the impossible"; + else if (req == WR_KILLMESSAGE) + w_deathtypestring = "%s has run into %s's gravity bomb"; return TRUE; } #endif