]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_player.qc
Fix gameplay regression
[xonotic/xonotic-data.pk3dir.git] / 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;