]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
unused killer_origin
authorMartin Taibr <taibr.martin@gmail.com>
Thu, 13 Oct 2016 19:23:38 +0000 (21:23 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Thu, 13 Oct 2016 19:23:38 +0000 (21:23 +0200)
qcsrc/server/defs.qh
qcsrc/server/g_damage.qc

index 9c3e7bba02148e52f34a75556c054f9affe12457..b515459ce1317cca9a42e0290de1e65e616f6bd2 100644 (file)
@@ -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;
index cb43861acf4ae272ffc7f67ae07950dbf2c03977..a604a2bade1ef61b8ac45bb1eeac7d068ed3b406 100644 (file)
@@ -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