projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug with playing level music in main menu when pressing music button
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index e5e128f8539c9158c916effcb0802c2a015326c6..76f348990e8c5a593fc480199b4bb6332cde29af 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-15787,7
+15787,8
@@
static void HandleGameButtonsExt(int id, int button)
SetAudioMode(setup.sound);
- PlayLevelMusic();
+ if (game_status == GAME_MODE_PLAYING)
+ PlayLevelMusic();
}
RedrawSoundButtonGadget(id);