fixed debug code for fast game startup when using MM engine
authorHolger Schemel <info@artsoft.org>
Wed, 17 May 2023 09:11:52 +0000 (11:11 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 17 May 2023 09:11:52 +0000 (11:11 +0200)
src/game_mm/mm_game.c

index 204ddf63a95daef1328ee1d399f8a304fd4348ee..6ff1d678b886f0d648c66116da20de848fdce39f 100644 (file)
@@ -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();