From d81acb06e8ab04031e754eebe4a90def243336f3 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 25 Apr 2024 20:01:30 +0200 Subject: [PATCH] fixed crash bug with wrongly covering the screen for native BD engine This crash bug happened when starting a new game with the native BD game engine by using a restart button from the main menu. (The bug did not occur when restarting during a running game.) --- src/game.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game.c b/src/game.c index 506def33..288ff5f1 100644 --- a/src/game.c +++ b/src/game.c @@ -3676,6 +3676,9 @@ void InitGame(void) else { SetGameStatus(GAME_MODE_PLAYING); + + // do not cover screen before fading out when starting from main menu + game_bd.cover_screen = FALSE; } if (level_editor_test_game) -- 2.34.1