|
|
@ -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 */
|
|
|
|
* player.c - everything what have to do with the player */
|
|
|
|
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
#include <SDL.h>
|
|
|
@ -877,10 +877,7 @@ void player_checkdeath (int pnr) {
|
|
|
|
player->pos.x = -1;
|
|
|
|
player->pos.x = -1;
|
|
|
|
player->pos.y = -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) {
|
|
|
|
if (player->pos.x != -1 && player->pos.y != -1) {
|
|
|
|
player->frame = 0;
|
|
|
|
player->frame = 0;
|
|
|
|