projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved code to count bits to separate function
[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 204ddf63a95daef1328ee1d399f8a304fd4348ee..3c18bcc54e317f8408f4c1e5f7269894fa618f9d 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-837,16
+837,24
@@
void InitGameActions_MM(void)
AdvanceFrameCounter();
AdvanceGfxFrame();
AdvanceFrameCounter();
AdvanceGfxFrame();
- DrawLevel_MM();
-
- BackToFront_MM();
+ if (PendingEscapeKeyEvent())
+ continue;
#ifdef DEBUG
if (setup.quick_doors)
continue;
#endif
#ifdef DEBUG
if (setup.quick_doors)
continue;
#endif
+
+ DrawLevel_MM();
+
+ BackToFront_MM();
}
}
+#ifdef DEBUG
+ if (setup.quick_doors)
+ DrawLevel_MM();
+#endif
+
ScanLaser();
if (game_mm.kettles_still_needed == 0)
ScanLaser();
if (game_mm.kettles_still_needed == 0)