From: Mario Date: Mon, 13 Feb 2017 08:38:59 +0000 (+1000) Subject: Don't clear waypoints on death X-Git-Tag: xonotic-v0.8.2~213 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=231895acdb9a92e5c024eccc6364346c3a93848c;p=xonotic%2Fxonotic-data.pk3dir.git Don't clear waypoints on death --- diff --git a/qcsrc/server/player.qc b/qcsrc/server/player.qc index 980a0472f..5e581c2bd 100644 --- a/qcsrc/server/player.qc +++ b/qcsrc/server/player.qc @@ -615,8 +615,6 @@ void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, UNSET_ONGROUND(this); // dying animation this.deadflag = DEAD_DYING; - // clear checkpoints (prevent cheating) - if (this.personal) delete(this.personal); // when to allow respawn calculate_player_respawn_time(this);