projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added missing initialization of element properties for MM engine
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 8d26fe44f8b8fcdbf85a0f0ea161a925b087d01f..e9ee41ae18e4208676b975b1b80f984b85b24c12 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-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
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);
}
}
}
}