From c0f43e487c6f937035e8d763c2fe77599044b692 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 6 Jan 2025 15:06:19 +0100 Subject: [PATCH] moved code to close game panel door before starting game --- src/game.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game.c b/src/game.c index d9291bdf..e110ce52 100644 --- a/src/game.c +++ b/src/game.c @@ -3740,9 +3740,6 @@ void InitGame(void) // required here to update video display before fading (FIX THIS) DrawMaskedBorder(REDRAW_DOOR_2); - if (!game.restart_level) - CloseDoor(DOOR_CLOSE_1); - if (level.game_engine_type == GAME_ENGINE_TYPE_BD) { if (!setup.bd_multiple_lives) @@ -3793,6 +3790,9 @@ void InitGame(void) game_bd.cover_screen = FALSE; } + if (!game.restart_level) + CloseDoor(DOOR_CLOSE_1); + if (level_editor_test_game) FadeSkipNextFadeOut(); else -- 2.34.1