From: Holger Schemel Date: Sat, 18 Feb 2023 09:07:43 +0000 (+0100) Subject: fixed explosion graphics for bomb and McDuffin for MM engine X-Git-Tag: 4.3.5.1~8 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=c8e2e1b872d216f1ed23bac5d446b5a14d5d60ad;p=rocksndiamonds.git fixed explosion graphics for bomb and McDuffin for MM engine --- diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 267f4c5e..c6256e46 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -2676,7 +2676,10 @@ static void Explode_MM(int x, int y, int phase, int mode) Store2[x][y] = mode; Tile[x][y] = EL_EXPLODING_OPAQUE; - GfxElement[x][y] = center_element; + + GfxElement[x][y] = (center_element == EL_BOMB_ACTIVE ? EL_BOMB : + IS_MCDUFFIN(center_element) ? EL_MCDUFFIN : + center_element); MovDir[x][y] = MovPos[x][y] = MovDelay[x][y] = 0;