projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc1a9b
)
fixed bug with playing level music in main menu when pressing music button
author
Holger Schemel
<info@artsoft.org>
Wed, 1 Nov 2017 23:21:49 +0000
(
00:21
+0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:15 +0000
(23:21 +0100)
src/game.c
patch
|
blob
|
history
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);