From: FruitieX Date: Tue, 26 Oct 2010 18:11:48 +0000 (+0300) Subject: silence MSG_KILL as well X-Git-Tag: xonotic-v0.1.0preview~202^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bb7cc888cd544959bfc0768d300ca4855d37595b;p=xonotic%2Fxonotic-data.pk3dir.git silence MSG_KILL as well --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index b341f1051..9ac2cba07 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -2593,7 +2593,7 @@ void HUD_KillNotify(string s1, string s2, string s3, float type, float msg) // s alsoprint = (autocvar_hud_panel_notify_print || !panel_enabled); // print message to console if: notify panel disabled, or cvar to do so enabled gentle = (autocvar_cl_gentle || autocvar_cl_gentle_messages); - if (msg == MSG_SUICIDE && gametype == GAME_CTS) // selfkill isn't interesting in CTS and only spams up the notify panel + if ((msg == MSG_SUICIDE || msg == MSG_KILL) && gametype == GAME_CTS) // selfkill isn't interesting in CTS and only spams up the notify panel return; if(msg == MSG_SUICIDE) {