added resetting animation frame for active game elements in MM engine
[rocksndiamonds.git] / src / game_mm / mm_game.c
index 486395cda52f5fcf99f7fd69deb5d721196fb930..81bbe9d0ea577d63477bbf35129774f7687f19c2 100644 (file)
@@ -1691,6 +1691,8 @@ static boolean HitElement(int element, int hit_mask)
                      element == EL_MINE ? EL_MINE_ACTIVE :
                      EL_GRAY_BALL_ACTIVE);
 
+    GfxFrame[ELX][ELY] = 0;            // restart animation
+
     laser.dest_element_last = Tile[ELX][ELY];
     laser.dest_element_last_x = ELX;
     laser.dest_element_last_y = ELY;