]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make it work
authorMario <zacjardine@y7mail.com>
Wed, 17 Dec 2014 00:21:59 +0000 (11:21 +1100)
committerMario <zacjardine@y7mail.com>
Wed, 17 Dec 2014 00:21:59 +0000 (11:21 +1100)
qcsrc/server/cl_player.qc

index 17569147fb091d9e08f9ee4ea7e877287c69f34d..72702ac630c03696e8eaa6957219993b8c739d18 100644 (file)
@@ -547,8 +547,10 @@ void PlayerDamage (entity inflictor, entity attacker, float damage, float deatht
                frag_attacker = attacker;
                frag_inflictor = inflictor;
                frag_target = self;
+               frag_damage = excess;
                frag_deathtype = deathtype;
                MUTATOR_CALLHOOK(PlayerDies);
+               excess = frag_damage;
 
                WEP_ACTION(self.weapon, WR_PLAYERDEATH);