From 7e165b9004b06454128ec509677e4404ed454a6a Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 15 Jan 2025 00:19:27 +0100 Subject: [PATCH] added fading sounds after covering BD screen when not playing anymore --- src/tools.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tools.c b/src/tools.c index 86d7bc56..20784a47 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1015,6 +1015,11 @@ void CoverScreen(void) } CoverScreen_BD(); + + // if not playing or restarting game, stop sound loop played while covering the screen + if (game_status != GAME_MODE_PLAYING && + game_status != GAME_MODE_PSEUDO_RESTARTING) + FadeSounds(); } void FadeIn(int fade_mask) -- 2.34.1