From: Holger Schemel Date: Mon, 6 Jan 2025 14:06:19 +0000 (+0100) Subject: moved code to close game panel door before starting game X-Git-Tag: 4.4.0.1~43 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=c0f43e487c6f937035e8d763c2fe77599044b692;p=rocksndiamonds.git moved code to close game panel door before starting game --- 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