From: Mario Date: Wed, 6 Jan 2016 03:57:35 +0000 (+1000) Subject: Fix odd angles on respawn (hopefully) X-Git-Tag: xonotic-v0.8.2~1276 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6d81fbaa12dc3b9dbb4061458b18387882c0d197;p=xonotic%2Fxonotic-data.pk3dir.git Fix odd angles on respawn (hopefully) --- diff --git a/qcsrc/server/cl_player.qc b/qcsrc/server/cl_player.qc index c6b0359c4..0e16fac33 100644 --- a/qcsrc/server/cl_player.qc +++ b/qcsrc/server/cl_player.qc @@ -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;