projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug which caused wrong level number in "hall of fame" after playing
[rocksndiamonds.git]
/
src
/
game.c
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;