From: Rudolf Polzer Date: Fri, 19 Apr 2013 14:03:29 +0000 (+0200) Subject: ++deathlocation X-Git-Tag: xonotic-v0.7.0~75 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=949467085d71833e823493da5dd109422c44aafb;p=xonotic%2Fxonotic-data.pk3dir.git ++deathlocation --- diff --git a/qcsrc/server/g_damage.qc b/qcsrc/server/g_damage.qc index 29eed9af8..16b252ff5 100644 --- a/qcsrc/server/g_damage.qc +++ b/qcsrc/server/g_damage.qc @@ -440,7 +440,7 @@ void Obituary(entity attacker, entity inflictor, entity targ, float deathtype) Send_Notification(NOTIF_ONE, attacker, MSG_CENTER, CENTER_DEATH_TEAMKILL_FRAG, targ.netname); Send_Notification(NOTIF_ONE, targ, MSG_CENTER, CENTER_DEATH_TEAMKILL_FRAGGED, attacker.netname); - Send_Notification(NOTIF_ALL, world, MSG_INFO, APP_TEAM_NUM_4(targ.team, INFO_DEATH_TEAMKILL_), targ.netname, attacker.netname, targ.killcount); + Send_Notification(NOTIF_ALL, world, MSG_INFO, APP_TEAM_NUM_4(targ.team, INFO_DEATH_TEAMKILL_), targ.netname, attacker.netname, deathlocation, targ.killcount); // In this case, the death message will ALWAYS be "foo was betrayed by bar" // No need for specific death/weapon messages...