From: Holger Schemel Date: Sun, 21 Jun 2015 14:23:40 +0000 (+0200) Subject: fixed initial state of game button 'pause2' on game start X-Git-Tag: 4.0.0.0-rc1~171 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=f57f9be4c38d1a856ef5d152b498811879cd9dd9 fixed initial state of game button 'pause2' on game start --- diff --git a/src/game.c b/src/game.c index e3e25f23..0b2d47fd 100644 --- 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();