From: Holger Schemel Date: Wed, 17 May 2023 09:11:52 +0000 (+0200) Subject: fixed debug code for fast game startup when using MM engine X-Git-Tag: 4.3.6.0~16 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=74d96da5c5b619863440edc90673f6bea6715354;p=rocksndiamonds.git fixed debug code for fast game startup when using MM engine --- diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 204ddf63..6ff1d678 100644 --- 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();