projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf392f
)
added using counter of players that still have to enter an exit
author
Holger Schemel
<info@artsoft.org>
Fri, 17 Aug 2018 11:02:53 +0000
(13:02 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 17 Aug 2018 11:02:53 +0000
(13:02 +0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 2e504df5d5188103bc46381436ec12bc71781972..e1522b58bb844136786b4113ee247df34506cfdb 100644
(file)
--- 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;