projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb84ec
)
fixed initial state of game button 'pause2' on game start
author
Holger Schemel
<info@artsoft.org>
Sun, 21 Jun 2015 14:23:40 +0000
(16:23 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 21 Jun 2015 14:25:01 +0000
(16:25 +0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index e3e25f23505a59dcd502aca4cd8fd77bc8f78d50..0b2d47fd4bb2f618fc1cb208d5e6aa98437e6b04 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-3954,9
+3954,14
@@
void InitGame()
{
UnmapGameButtons();
UnmapTapeButtons();
+
+ FreeGameButtons();
+ CreateGameButtons();
+
game_gadget[SOUND_CTRL_ID_MUSIC]->checked = setup.sound_music;
game_gadget[SOUND_CTRL_ID_LOOPS]->checked = setup.sound_loops;
game_gadget[SOUND_CTRL_ID_SIMPLE]->checked = setup.sound_simple;
+
MapGameButtons();
MapTapeButtons();