From 379fbcab52793edc996f8e1253b4629c6d4aa415 Mon Sep 17 00:00:00 2001 From: stpohle Date: Sun, 8 Feb 2004 22:34:31 +0000 Subject: [PATCH] This has to do with the respawn of a player. The while around the call to map_respawn_player() is not necessary. --- src/player.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/player.c b/src/player.c index 5cda716..ddd0c4b 100644 --- a/src/player.c +++ b/src/player.c @@ -1,4 +1,4 @@ -/* $Id: player.c,v 1.79 2004/02/08 00:56:01 stpohle Exp $ +/* $Id: player.c,v 1.80 2004/02/08 22:34:31 stpohle Exp $ * player.c - everything what have to do with the player */ #include @@ -877,10 +877,7 @@ void player_checkdeath (int pnr) { player->pos.x = -1; player->pos.y = -1; - while (player->pos.x == -1 && player->pos.y == -1) { - - map_respawn_player(pnr); - } + map_respawn_player(pnr); if (player->pos.x != -1 && player->pos.y != -1) { player->frame = 0;