fixed animation of opening exit door (MM engine)
authorHolger Schemel <info@artsoft.org>
Wed, 22 Feb 2017 18:59:06 +0000 (19:59 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:09 +0000 (23:21 +0100)
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])
     {