From 8c1387ec331cf65c72e7f7f8ee8a10c716d7e41e Mon Sep 17 00:00:00 2001 From: FruitieX Date: Tue, 26 Oct 2010 17:17:10 +0300 Subject: [PATCH] ignore selfkill messages on the notify panel in CTS, they aren't interesting --- qcsrc/client/hud.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 2809cafa0..d752235b4 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -2593,6 +2593,9 @@ 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 + return; + if(msg == MSG_SUICIDE) { w = DEATH_WEAPONOF(type); if(WEP_VALID(w)) { -- 2.39.2