From: TimePath Date: Sat, 11 Jun 2016 13:15:54 +0000 (+1000) Subject: Fix gameplay regression X-Git-Tag: xonotic-v0.8.2~824 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6d17571dd8df280ccf3b46571d48f218edba002a;p=xonotic%2Fxonotic-data.pk3dir.git Fix gameplay regression --- diff --git a/qcsrc/server/cl_player.qc b/qcsrc/server/cl_player.qc index 3435c2b29..105e4d5e9 100644 --- a/qcsrc/server/cl_player.qc +++ b/qcsrc/server/cl_player.qc @@ -551,7 +551,7 @@ void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, if(accuracy_isgooddamage(attacker, this)) attacker.accuracy.(accuracy_frags[w.m_id-1]) += 1; - MUTATOR_CALLHOOK(PlayerDies, inflictor, attacker, this, deathtype, excess); + MUTATOR_CALLHOOK(PlayerDies, inflictor, attacker, this, deathtype, damage); excess = M_ARGV(4, float); Weapon wep = PS(this).m_weapon;