projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030801-1-src
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 97853144b22e327fa06080fe9c3097fc6758e7f8..744065cd5923675762f020124912bc5a78a6dd8e 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-504,6
+504,9
@@
inline void DrawLevelGraphicAnimationIfNeeded(int x, int y, int graphic)
return;
DrawGraphicAnimation(sx, sy, graphic);
return;
DrawGraphicAnimation(sx, sy, graphic);
+
+ if (CAN_BE_CRUMBLED(Feld[x][y]))
+ DrawLevelFieldCrumbledSand(x, y);
}
void DrawLevelElementAnimationIfNeeded(int x, int y, int element)
}
void DrawLevelElementAnimationIfNeeded(int x, int y, int element)
@@
-520,6
+523,9
@@
void DrawLevelElementAnimationIfNeeded(int x, int y, int element)
return;
DrawGraphicAnimation(sx, sy, graphic);
return;
DrawGraphicAnimation(sx, sy, graphic);
+
+ if (CAN_BE_CRUMBLED(element))
+ DrawLevelFieldCrumbledSand(x, y);
}
void DrawAllPlayers()
}
void DrawAllPlayers()