projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95f91d5
)
fixed drawing disabled fuse when redrawing level playfield (MM engine)
author
Holger Schemel
<info@artsoft.org>
Thu, 11 May 2017 19:03:03 +0000
(21:03 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:13 +0000
(23:21 +0100)
src/game_mm/mm_tools.c
patch
|
blob
|
history
diff --git
a/src/game_mm/mm_tools.c
b/src/game_mm/mm_tools.c
index 8a9de52af4d253e5f5e06de13bb4a2ee7175ad20..93ab822122fb4a5acfa3a15fa98f4122ada429d0 100644
(file)
--- a/
src/game_mm/mm_tools.c
+++ b/
src/game_mm/mm_tools.c
@@
-517,6
+517,11
@@
void DrawElement_MM(int x, int y, int element)
#endif
else if (element == EL_PACMAN)
DrawLevelField_MM(x, y);
+ else if (element == EL_FUSE_ON &&
+ laser.fuse_off &&
+ laser.fuse_x == x &&
+ laser.fuse_y == y)
+ DrawGraphic_MM(x, y, IMG_MM_FUSE);
else
DrawGraphic_MM(x, y, el2gfx(element));
}