From: Holger Schemel Date: Thu, 25 Apr 2024 18:01:30 +0000 (+0200) Subject: fixed crash bug with wrongly covering the screen for native BD engine X-Git-Tag: 4.4.0.0-test-1~44 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=d81acb06e8ab04031e754eebe4a90def243336f3;p=rocksndiamonds.git 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.) --- 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)