From 47618536d29b2d7a596ea1db9f29112c41c6fdd6 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 22 Aug 2024 23:22:32 +0200 Subject: [PATCH] fixed bug with fading music after disabling in setup menu --- src/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools.c b/src/tools.c index bfcaaed0..9422b837 100644 --- a/src/tools.c +++ b/src/tools.c @@ -11474,7 +11474,7 @@ static void FadeMenuMusic(void) char *curr_music = getCurrentlyPlayingMusicFilename(); char *next_music = getMusicInfoEntryFilename(menu.music[game_status]); - if (!strEqual(curr_music, next_music)) + if (!strEqual(curr_music, next_music) || !setup.sound_music) FadeMusic(); } -- 2.34.1