From: Mario Date: Thu, 4 Feb 2016 07:07:54 +0000 (+1000) Subject: Don't show any message for suicides in CTS X-Git-Tag: xonotic-v0.8.2~1204 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=017eaa3be8e03384b03a7b818da71038fe8d8f73;p=xonotic%2Fxonotic-data.pk3dir.git Don't show any message for suicides in CTS --- diff --git a/qcsrc/server/g_damage.qc b/qcsrc/server/g_damage.qc index 00c9982c3..23897720e 100644 --- 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)