]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_player.qc
s/world/NULL/
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_player.qc
index 105e4d5e982148da224d0d5fb2b7b670e4e62c84..4c54dddaa6901f137e28772c913bac6d1b6d0d2b 100644 (file)
@@ -529,7 +529,7 @@ void PlayerDamage(entity this, entity inflictor, entity attacker, float damage,
                if(this.killindicator)
                {
                        remove(this.killindicator);
-                       this.killindicator = world;
+                       this.killindicator = NULL;
                        if(this.killindicator_teamchange)
                                defer_ClientKill_Now_TeamChange = true;
 
@@ -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);