fixed animation of opening exit door (MM engine)
[rocksndiamonds.git] / src / game_mm / mm_game.c
index 0cb2e094f9ebe6c7f6e727af5e70d03ead65bf11..c2c7df2b0c7920da5b5cc5721d16521a52718253 100644 (file)
@@ -1950,7 +1950,7 @@ void OpenExit(int x, int y)
     MovDelay[x][y]--;
     phase = MovDelay[x][y] / delay;
     if (!(MovDelay[x][y] % delay) && IN_SCR_FIELD(x, y))
-      DrawGraphic_MM(x, y, EL_EXIT_OPEN - phase);
+      DrawGraphicAnimation_MM(x, y, IMG_MM_EXIT_OPENING, 3 - phase);
 
     if (!MovDelay[x][y])
     {