rnd-20031019-1-src
[rocksndiamonds.git] / src / tools.c
index 932df515bd7080d4cd4c671a4e204930d5eb2210..d98a4c1bb7085590176e46f3ed4f07274bc452e1 100644 (file)
@@ -743,7 +743,11 @@ void DrawPlayer(struct PlayerInfo *player)
     {
       int element = MovingOrBlocked2Element(next_jx, next_jy);
       int graphic = el_act_dir2img(element, ACTION_PUSHING, move_dir);
+#if 1
+      int frame = getGraphicAnimationFrame(graphic, player->StepFrame);
+#else
       int frame = getGraphicAnimationFrame(graphic, player->Frame);
+#endif
 
       DrawGraphicShifted(px, py, sxx, syy, graphic, frame,
                         NO_CUTTING, NO_MASKING);