From: Holger Schemel Date: Tue, 3 Feb 2015 15:21:36 +0000 (+0100) Subject: fixed bug with game buttons in tape area not properly redrawn X-Git-Tag: 4.0.0.0-rc1~297 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=ccd6e43aee74f4761139c2cc71d6bfeb0696f26a;p=rocksndiamonds.git fixed bug with game buttons in tape area not properly redrawn --- diff --git a/ChangeLog b/ChangeLog index b374cd42..4e1cad50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2015-02-03 * finished configurability of tape date and time display positions + * fixed bug with game buttons in tape area not properly redrawn 2015-02-02 * fixed configurability of editor element palette (for columns != 4) diff --git a/src/tape.c b/src/tape.c index 6ef7cf4c..8613f9ba 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1297,6 +1297,9 @@ void UnmapTapeButtons() for (i = 0; i < NUM_TAPE_BUTTONS; i++) UnmapGadget(tape_gadget[i]); + + if (tape.show_game_buttons) + UnmapGameButtons(); } static void HandleTapeButtonsExt(int id)