]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix gameplay regression
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 11 Jun 2016 13:15:54 +0000 (23:15 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 11 Jun 2016 13:15:54 +0000 (23:15 +1000)
qcsrc/server/cl_player.qc

index 3435c2b2960e5c47b976580d4ed33f8040762119..105e4d5e982148da224d0d5fb2b7b670e4e62c84 100644 (file)
@@ -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;