projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added option for 'masked' element graphics on properties buttons
[rocksndiamonds.git]
/
src
/
game_em
/
graphics.c
diff --git
a/src/game_em/graphics.c
b/src/game_em/graphics.c
index 03934a71e7beff39ab8d4f8a2e506c4771e1356c..54711e9536026e5bff44b1e90372c6452a212506 100644
(file)
--- a/
src/game_em/graphics.c
+++ b/
src/game_em/graphics.c
@@
-174,7
+174,8
@@
static void DrawLevelFieldCrumbled_EM(int x, int y, int sx, int sy,
g = getObjectGraphic(x, y);
- crumbled_border_size = g->crumbled_border_size * TILESIZE_VAR / TILESIZE;
+ crumbled_border_size =
+ g->crumbled_border_size * TILESIZE_VAR / g->crumbled_tile_size;
for (i = 0; i < 4; i++)
{