]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't clear waypoints on death
authorMario <mario@smbclan.net>
Mon, 13 Feb 2017 08:38:59 +0000 (18:38 +1000)
committerMario <mario@smbclan.net>
Mon, 13 Feb 2017 08:38:59 +0000 (18:38 +1000)
qcsrc/server/player.qc

index 980a0472ff0c9c550f71ede88bb6e149b397f56d..5e581c2bd45a06fca4acf31553599390e491b4ae 100644 (file)
@@ -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);