projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1658d1
)
fixed explosion graphics for bomb and McDuffin for MM engine
author
Holger Schemel
<info@artsoft.org>
Sat, 18 Feb 2023 09:07:43 +0000
(10:07 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 18 Feb 2023 09:07:43 +0000
(10:07 +0100)
src/game_mm/mm_game.c
patch
|
blob
|
history
diff --git
a/src/game_mm/mm_game.c
b/src/game_mm/mm_game.c
index 267f4c5e106dc3b96ef89e4cedf1a0768910fc3a..c6256e46f6c31db01f5264fb4ccd20c9fc4d5ed6 100644
(file)
--- 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;