X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_tools.c;h=a2b7e4510f3b41bff021f538a531c42161306c89;hp=aa09879e0c4690c34148371202e1ba5be35262d7;hb=1b1c9e4c5724af074b368b8815e6603f8a759a6b;hpb=d731ceaa9dedb27dd4928071e06a331c6d54953d diff --git a/src/game_mm/mm_tools.c b/src/game_mm/mm_tools.c index aa09879e..a2b7e451 100644 --- a/src/game_mm/mm_tools.c +++ b/src/game_mm/mm_tools.c @@ -420,8 +420,7 @@ void DrawWallsExt_MM(int x, int y, int element, int draw_mask) getMiniGraphicSource(graphic, &bitmap, &gx, &gy); - if (game_status != LEVELED || !editor.draw_walls_masked) - DrawGraphic_MM(x, y, IMG_EMPTY); + DrawGraphic_MM(x, y, IMG_EMPTY); /* if (IS_WALL_WOOD(element) || IS_WALL_AMOEBA(element) || @@ -442,7 +441,7 @@ void DrawWallsExt_MM(int x, int y, int element, int draw_mask) if (element & (1 << i)) BlitBitmap(bitmap, drawto, gx, gy, MINI_TILEX, MINI_TILEY, dest_x, dest_y); - else if (!editor.draw_walls_masked) + else ClearRectangle(drawto, dest_x, dest_y, MINI_TILEX, MINI_TILEY); }