From 9d38fbc60e57c366fd336d17604e5943ebbf66c4 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 5 Jan 2025 17:05:45 +0100 Subject: [PATCH] added skipping screen fading when restarting game using BD engine --- src/game.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/game.c b/src/game.c index 52ef60bd..adb0d905 100644 --- a/src/game.c +++ b/src/game.c @@ -3766,7 +3766,16 @@ void InitGame(void) // when using BD engine, cover screen before fading out when restarting game if (level.game_engine_type == GAME_ENGINE_TYPE_BD) + { game_bd.cover_screen = TRUE; + + // skip fading when covering screen, but only if not also skipping BD style uncovering + if (!setup.bd_skip_uncovering) + { + FadeSkipNextFadeOut(); + FadeSkipNextFadeIn(); + } + } } else { -- 2.34.1