projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a06ce5
)
fixed bug with fading music after disabling in setup menu
author
Holger Schemel
<holger.schemel@virtion.de>
Thu, 22 Aug 2024 21:22:32 +0000
(23:22 +0200)
committer
Holger Schemel
<holger.schemel@virtion.de>
Thu, 22 Aug 2024 21:22:32 +0000
(23:22 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index bfcaaed04da0fda5dab6e2ef36c7b082a5486388..9422b837063980205dab7a451b35b3e69e3d2a7e 100644
(file)
--- 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();
}