X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsystem.c;h=7cebdb8fa727a1c5e4f8330dbe02568f115e7cc2;hb=fa2a77aa4b53bb786e67f35d6c46f759ebe7823d;hp=3603dbe83c86563741766c702e1dab37bfc0124a;hpb=30d133ac6c0358f7c895df1af02ff4cca730707f;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 3603dbe8..7cebdb8f 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -357,8 +357,10 @@ inline boolean DrawingDeactivated(int x, int y, int width, int height) { if (gfx.draw_deactivation_mask != REDRAW_NONE) { - if ((gfx.draw_deactivation_mask & REDRAW_FIELD) && - x < gfx.sx + gfx.sxsize) + if (gfx.draw_deactivation_mask & REDRAW_ALL) + return TRUE; + else if ((gfx.draw_deactivation_mask & REDRAW_FIELD) && + x < gfx.sx + gfx.sxsize) return TRUE; else if ((gfx.draw_deactivation_mask & REDRAW_DOORS) && x > gfx.dx)