]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix odd angles on respawn (hopefully)
authorMario <mario@smbclan.net>
Wed, 6 Jan 2016 03:57:35 +0000 (13:57 +1000)
committerMario <mario@smbclan.net>
Wed, 6 Jan 2016 03:57:35 +0000 (13:57 +1000)
qcsrc/server/cl_player.qc

index c6b0359c4ee89bd20f3b05de8df71eae2c251f7f..0e16fac3381eecee5baa4e551ffca2a1e99fb9bb 100644 (file)
@@ -543,7 +543,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);
+               WITH(entity, self, this, MUTATOR_CALLHOOK(PlayerDies, inflictor, attacker, this, deathtype));
                excess = frag_damage;
 
                Weapon wep = PS(this).m_weapon;