From: Holger Schemel Date: Fri, 19 Feb 1999 01:01:24 +0000 (+0100) Subject: rnd-19990219-1 X-Git-Tag: 1.4.0^2~40 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=56fed90e3cabb9ef3052a15e6d49b47eead2cd09;p=rocksndiamonds.git rnd-19990219-1 --- diff --git a/src/game.c b/src/game.c index f66cd400..253827d3 100644 --- a/src/game.c +++ b/src/game.c @@ -199,6 +199,7 @@ static void InitField(int x, int y, boolean init_game) if (!options.network || player->connected) { player->active = TRUE; + player->gone = FALSE; /* remove potentially duplicate players */ if (StorePlayer[jx][jy] == Feld[x][y]) @@ -384,7 +385,7 @@ void InitGame() player->snapped = FALSE; - player->gone = FALSE; + player->gone = TRUE; player->last_jx = player->last_jy = 0; player->jx = player->jy = 0; @@ -471,6 +472,7 @@ void InitGame() { player->present = TRUE; player->active = TRUE; + player->gone = FALSE; some_player->present = FALSE; StorePlayer[jx][jy] = player->element_nr; @@ -495,6 +497,7 @@ void InitGame() int jx = player->jx, jy = player->jy; player->active = FALSE; + player->gone = TRUE; StorePlayer[jx][jy] = 0; Feld[jx][jy] = EL_LEERRAUM; } @@ -516,6 +519,7 @@ void InitGame() int jx = player->jx, jy = player->jy; player->active = FALSE; + player->gone = TRUE; StorePlayer[jx][jy] = 0; Feld[jx][jy] = EL_LEERRAUM; }