projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5aae18
)
fixed not updating audio buttons if shown on tape and changed in setup menu
author
Holger Schemel
<info@artsoft.org>
Sun, 17 Jun 2018 21:58:02 +0000
(23:58 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 17 Jun 2018 22:00:47 +0000
(
00:00
+0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 1291b8ea9dacc8d010d869ddfba418de7ff98341..d83904169dabfbbc70e8b3339c49c64afd847f63 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-1651,6
+1651,10
@@
void DrawMainMenu()
FreeScreenGadgets();
CreateScreenGadgets();
+ /* may be required if audio buttons shown on tape and changed in setup menu */
+ FreeGameButtons();
+ CreateGameButtons();
+
/* map gadgets for main menu screen */
MapTapeButtons();
MapScreenMenuGadgets(SCREEN_MASK_MAIN);