fixed updating tiled graphics only when needed
[rocksndiamonds.git] / src / tools.c
index 08f2cc1e56d4ceb22df90824ce61fcd9433b2423..0271abfc43d83eb615b99fe8663df7cd83e0a5d5 100644 (file)
@@ -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