From: FruitieX Date: Tue, 26 Oct 2010 14:17:10 +0000 (+0300) Subject: ignore selfkill messages on the notify panel in CTS, they aren't interesting X-Git-Tag: xonotic-v0.1.0preview~202^2~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8c1387ec331cf65c72e7f7f8ee8a10c716d7e41e;p=xonotic%2Fxonotic-data.pk3dir.git ignore selfkill messages on the notify panel in CTS, they aren't interesting --- 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)) {