projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfcbe8
)
added returning from game actions if winning game completely handled
author
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 17:48:27 +0000
(18:48 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 17:51:45 +0000
(18:51 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 229a3ffede7fdc11955420d1cc4708fc1bc63da4..e9710f306450ef84336a3eff1ee12abf5ca28bc4 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-12271,7
+12271,11
@@
static void GameActionsExt(void)
CheckLevelSolved();
if (game.LevelSolved && !game.LevelSolved_GameEnd)
- GameWon();
+ {
+ // handle winning game until completely finished and game ended
+ if (GameWon())
+ return;
+ }
if (game.all_players_gone && !TAPE_IS_STOPPED(tape))
TapeStop();