From: Mario Date: Wed, 17 Dec 2014 00:21:59 +0000 (+1100) Subject: Make it work X-Git-Tag: xonotic-v0.8.2~1917^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2668c5d1a9de1d414597a14431861a0adb9dee2d;p=xonotic%2Fxonotic-data.pk3dir.git Make it work --- diff --git a/qcsrc/server/cl_player.qc b/qcsrc/server/cl_player.qc index 17569147f..72702ac63 100644 --- a/qcsrc/server/cl_player.qc +++ b/qcsrc/server/cl_player.qc @@ -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);