rnd-20021210-1-src
[rocksndiamonds.git] / src / tools.c
index 8ed62a521b36a2fbc2fefd7ceeadf38f710e9ae1..328ad13e2188ee8aabc5328a4ea30452a4d1f0f5 100644 (file)
@@ -770,7 +770,8 @@ void DrawPlayer(struct PlayerInfo *player)
 
 void DrawGraphicAnimationExt(int x, int y, int graphic, int mask_mode)
 {
-  if (IN_SCR_FIELD(x, y))
+  if (IN_SCR_FIELD(x, y) &&
+      (FrameCounter % new_graphic_info[graphic].anim_delay) == 0)
   {
     int frame = getGraphicAnimationFrame(graphic, -1);