fixed debug code for fast game startup when using MM engine
[rocksndiamonds.git] / 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();