projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added skipping certain game actions on game over in MM engine
[rocksndiamonds.git]
/
src
/
game_mm
/
mm_game.c
diff --git
a/src/game_mm/mm_game.c
b/src/game_mm/mm_game.c
index c3d573db93c59ff2430e378f4c7595246b49e1fe..a3c22be01a129c6764956c55dca15d229906cee5 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-3174,6
+3174,10
@@
static void GameActions_MM_Ext(void)
}
}
+ // skip all following game actions if game is over
+ if (game_mm.game_over)
+ return;
+
if (FrameReached(&energy_delay))
{
if (game_mm.energy_left > 0)