added checking for BD engine for not covering BD screen
authorHolger Schemel <holger.schemel@virtion.de>
Sun, 5 Jan 2025 16:00:41 +0000 (17:00 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Sun, 5 Jan 2025 16:00:47 +0000 (17:00 +0100)
src/game.c

index 407b9c3299bd3940fe25b5b40fc5683b22ab45f0..52ef60bda301c4d5225697825dbf96f42b6bd353 100644 (file)
@@ -3772,8 +3772,9 @@ void InitGame(void)
   {
     SetGameStatus(GAME_MODE_PLAYING);
 
-    // do not cover screen before fading out when starting from main menu
-    game_bd.cover_screen = FALSE;
+    // when using BD engine, do not cover screen before fading out when starting from main menu
+    if (level.game_engine_type == GAME_ENGINE_TYPE_BD)
+      game_bd.cover_screen = FALSE;
   }
 
   if (level_editor_test_game)