]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove a now unnecessary WITHSELF
authorMario <mario@smbclan.net>
Sat, 11 Jun 2016 13:15:40 +0000 (23:15 +1000)
committerMario <mario@smbclan.net>
Sat, 11 Jun 2016 13:15:40 +0000 (23:15 +1000)
qcsrc/server/cl_player.qc

index 105e4d5e982148da224d0d5fb2b7b670e4e62c84..914df8a93a4dcb32be66aeba9df15ceb2c838af2 100644 (file)
@@ -555,7 +555,7 @@ void PlayerDamage(entity this, entity inflictor, entity attacker, float damage,
                excess = M_ARGV(4, float);
 
                Weapon wep = PS(this).m_weapon;
-               WITHSELF(this, wep.wr_playerdeath(wep, this));
+               wep.wr_playerdeath(wep, this);
 
                RemoveGrapplingHook(this);