projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b68ba
)
Don't show any message for suicides in CTS
author
Mario <mario@smbclan.net>
Thu, 4 Feb 2016 07:07:54 +0000
(17:07 +1000)
committer
Mario <mario@smbclan.net>
Thu, 4 Feb 2016 07:07:54 +0000
(17:07 +1000)
qcsrc/server/g_damage.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/g_damage.qc
b/qcsrc/server/g_damage.qc
index 00c9982c3db8c8e5d32f77da478dd399432b6803..23897720e3ecf75492058975180c5a4643cd0626 100644
(file)
--- a/
qcsrc/server/g_damage.qc
+++ b/
qcsrc/server/g_damage.qc
@@
-163,6
+163,9
@@
void Obituary_SpecialDeath(
entity deathent = Deathtypes_from(deathtype - DT_FIRST);
if (!deathent) { backtrace("Obituary_SpecialDeath: Could not find deathtype entity!\n"); return; }
+ if(g_cts && deathtype == DEATH_KILL.m_id)
+ return; // TODO: somehow put this in CTS gamemode file!
+
if(murder)
{
if(deathent.death_msgmurder)