fixed broken graphics of opening gray ball in MM engine
authorHolger Schemel <info@artsoft.org>
Fri, 6 Jan 2023 23:31:50 +0000 (00:31 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 6 Jan 2023 23:31:50 +0000 (00:31 +0100)
src/game_mm/mm_tools.c

index 3a3aa2e8a723f99f2b2464dd64066b77705e8e01..a8edba4e2e152d6b0b397d70f9f4bc8c2c4169c0 100644 (file)
@@ -524,6 +524,8 @@ void DrawElement_MM(int x, int y, int element)
           laser.fuse_x == x &&
           laser.fuse_y == y)
     DrawGraphic_MM(x, y, IMG_MM_FUSE);
+  else if (element == EL_GRAY_BALL_OPENING)
+    DrawGraphic_MM(x, y, el_act2gfx(EL_BALL_GRAY, MM_ACTION_OPENING));
   else
     DrawGraphic_MM(x, y, el2gfx(element));
 }