projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed updating tiled graphics only when needed
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 08f2cc1e56d4ceb22df90824ce61fcd9433b2423..0271abfc43d83eb615b99fe8663df7cd83e0a5d5 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-3951,6
+3951,9
@@
void DrawLevelGraphicAnimationIfNeeded(int x, int y, int graphic)
if (!IS_NEW_FRAME(GfxFrame[x][y], graphic))
return;
+ if (ANIM_MODE(graphic) & ANIM_TILED)
+ return;
+
DrawGraphicAnimation(sx, sy, graphic);
#if 1