From: Holger Schemel Date: Thu, 22 Aug 2024 21:22:32 +0000 (+0200) Subject: fixed bug with fading music after disabling in setup menu X-Git-Tag: 4.4.0.0-test-4~293 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=47618536d29b2d7a596ea1db9f29112c41c6fdd6;p=rocksndiamonds.git fixed bug with fading music after disabling in setup menu --- 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(); }