X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.c;h=e50017a9bed88bd57f2cc5403b066657abd53ddf;hp=f0d6aff1d4517c50d0b7aeff690535828c3514c9;hb=e338cc862574dd965998d636818b8a62e71eccee;hpb=3ea7bc006da99f1b13d817285820023b30ce2e38 diff --git a/src/game.c b/src/game.c index f0d6aff1..e50017a9 100644 --- a/src/game.c +++ b/src/game.c @@ -15759,7 +15759,8 @@ static void RedrawGameButtonsExt(boolean on_tape) RedrawGadget(game_gadget[i]); // RedrawGadget() may have set REDRAW_ALL if buttons are defined off-area - redraw_mask &= ~REDRAW_ALL; + if (redraw_mask & REDRAW_ALL) + redraw_mask = REDRAW_FIELD | REDRAW_DOORS; } static void SetGadgetState(struct GadgetInfo *gi, boolean state)