From: Holger Schemel Date: Fri, 17 Aug 2018 11:02:53 +0000 (+0200) Subject: added using counter of players that still have to enter an exit X-Git-Tag: 4.1.1.0~75 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=6999c82d;p=rocksndiamonds.git added using counter of players that still have to enter an exit --- diff --git a/src/game.c b/src/game.c index 2e504df5..e1522b58 100644 --- a/src/game.c +++ b/src/game.c @@ -4422,6 +4422,10 @@ void InitAmoebaNr(int x, int y) static void PlayerWins(struct PlayerInfo *player) { + if (level.game_engine_type == GAME_ENGINE_TYPE_RND && + local_player->players_still_needed > 0) + return; + player->LevelSolved = TRUE; player->GameOver = TRUE;