fixed editor and preview wall graphics for Mirror Magic game engine (again)
authorHolger Schemel <info@artsoft.org>
Mon, 20 Feb 2017 07:35:12 +0000 (08:35 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:08 +0000 (23:21 +0100)
src/tools.c

index 8d26fe44f8b8fcdbf85a0f0ea161a925b087d01f..e9ee41ae18e4208676b975b1b80f984b85b24c12 100644 (file)
@@ -2476,7 +2476,8 @@ void DrawSizedWall_MM(int dst_x, int dst_y, int element, int tilesize,
       BlitBitmap(src_bitmap, drawto, src_x, src_y, tilesize_draw, tilesize_draw,
                 dst_draw_x, dst_draw_y);
     else
-      ClearRectangle(drawto, dst_x, dst_y, tilesize_draw, tilesize_draw);
+      ClearRectangle(drawto, dst_draw_x, dst_draw_y,
+                    tilesize_draw, tilesize_draw);
   }
 }