projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed wall animations for Mirror Magic game engine
[rocksndiamonds.git]
/
src
/
game_mm
/
mm_tools.c
diff --git
a/src/game_mm/mm_tools.c
b/src/game_mm/mm_tools.c
index fc35608b2ec006410e38b780a56f60b34d1885b5..dbe6ab212f74663bacd540a3611d394eff27d659 100644
(file)
--- a/
src/game_mm/mm_tools.c
+++ b/
src/game_mm/mm_tools.c
@@
-508,7
+508,8
@@
void DrawWallsAnimation_MM(int x, int y, int element, int phase, int bit_mask)
frame = 0;
}
frame = 0;
}
- getGraphicSource(graphic, frame, &bitmap, &src_x, &src_y);
+ getSizedGraphicSource(graphic, frame, MINI_TILESIZE, &bitmap,
+ &src_x, &src_y);
BlitBitmap(bitmap, drawto, src_x, src_y, MINI_TILEX, MINI_TILEY,
dst_x, dst_y);
BlitBitmap(bitmap, drawto, src_x, src_y, MINI_TILEX, MINI_TILEY,
dst_x, dst_y);