From: Holger Schemel Date: Sun, 17 Jun 2018 21:58:02 +0000 (+0200) Subject: fixed not updating audio buttons if shown on tape and changed in setup menu X-Git-Tag: 4.1.1.0~147 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=189786117925be600e72068054a16ae419bfe30f;p=rocksndiamonds.git fixed not updating audio buttons if shown on tape and changed in setup menu --- diff --git a/src/screens.c b/src/screens.c index 1291b8ea..d8390416 100644 --- 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);