fixed initial state of game button 'pause2' on game start
authorHolger Schemel <info@artsoft.org>
Sun, 21 Jun 2015 14:23:40 +0000 (16:23 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 21 Jun 2015 14:25:01 +0000 (16:25 +0200)
src/game.c

index e3e25f23505a59dcd502aca4cd8fd77bc8f78d50..0b2d47fd4bb2f618fc1cb208d5e6aa98437e6b04 100644 (file)
@@ -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();