projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a74e63d
)
fixed debug code for fast game startup when using MM engine
author
Holger Schemel
<info@artsoft.org>
Wed, 17 May 2023 09:11:52 +0000
(11:11 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 17 May 2023 09:11:52 +0000
(11:11 +0200)
src/game_mm/mm_game.c
patch
|
blob
|
history
diff --git
a/src/game_mm/mm_game.c
b/src/game_mm/mm_game.c
index 204ddf63a95daef1328ee1d399f8a304fd4348ee..6ff1d678b886f0d648c66116da20de848fdce39f 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-837,15
+837,20
@@
void InitGameActions_MM(void)
AdvanceFrameCounter();
AdvanceGfxFrame();
+#ifdef DEBUG
+ if (setup.quick_doors)
+ continue;
+#endif
+
DrawLevel_MM();
BackToFront_MM();
+ }
#ifdef DEBUG
-
if (setup.quick_doors)
-
continue
;
+ if (setup.quick_doors)
+
DrawLevel_MM()
;
#endif
- }
ScanLaser();