projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84a6b4
)
ignore selfkill messages on the notify panel in CTS, they aren't interesting
author
FruitieX <rasse@rasse-laptop.(none)>
Tue, 26 Oct 2010 14:17:10 +0000
(17:17 +0300)
committer
FruitieX <rasse@rasse-laptop.(none)>
Tue, 26 Oct 2010 14:17:10 +0000
(17:17 +0300)
qcsrc/client/hud.qc
patch
|
blob
|
history
diff --git
a/qcsrc/client/hud.qc
b/qcsrc/client/hud.qc
index 2809cafa01ee5b3e0580db47b3ef84733244b550..d752235b418457fe9a7650f42ec49b989e989e01 100644
(file)
--- 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)) {