From: Holger Schemel Date: Tue, 14 Jan 2025 23:19:27 +0000 (+0100) Subject: added fading sounds after covering BD screen when not playing anymore X-Git-Tag: 4.4.0.1~10 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=7e165b9004b06454128ec509677e4404ed454a6a;p=rocksndiamonds.git added fading sounds after covering BD screen when not playing anymore --- 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)