From: Martin Taibr Date: Thu, 13 Oct 2016 19:23:38 +0000 (+0200) Subject: unused killer_origin X-Git-Tag: xonotic-v0.8.2~488^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=17f84d50547f9a7d451ac6e341e9dd729137c49c;p=xonotic%2Fxonotic-data.pk3dir.git unused killer_origin --- diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 9c3e7bba0..b515459ce 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -160,7 +160,6 @@ bool nJoinAllowed(entity this, entity ignore); .float noalign; // if set to 1, the item or spawnpoint won't be dropped to the floor .vector death_origin; -.vector killer_origin; float default_player_alpha; float default_weapon_alpha; diff --git a/qcsrc/server/g_damage.qc b/qcsrc/server/g_damage.qc index cb43861ac..a604a2bad 100644 --- a/qcsrc/server/g_damage.qc +++ b/qcsrc/server/g_damage.qc @@ -289,7 +289,6 @@ void Obituary(entity attacker, entity inflictor, entity targ, int deathtype) // Set final information for the death targ.death_origin = targ.origin; - if(targ != attacker) { targ.killer_origin = attacker.origin; } string deathlocation = (autocvar_notification_server_allows_location ? NearestLocation(targ.death_origin) : ""); #ifdef NOTIFICATIONS_DEBUG