projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0441f4
)
fixed graphical bug when digging (crumbled) sand next to other player
author
Holger Schemel
<info@artsoft.org>
Tue, 18 Dec 2018 23:09:50 +0000
(
00:09
+0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 18 Dec 2018 23:09:50 +0000
(
00:09
+0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 2ff2a6e3a7450e00293d90a81ee25308167fa84a..3f9fa56f8ef683be363200ec522c5cfec6439ba2 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-2274,7
+2274,9
@@
static void DrawLevelFieldCrumbledExt(int x, int y, int graphic, int frame)
!IN_SCR_FIELD(sxx, syy))
continue;
- if (Feld[xx][yy] == EL_ELEMENT_SNAPPING)
+ // do not crumble fields that are being digged or snapped
+ if (Feld[xx][yy] == EL_EMPTY ||
+ Feld[xx][yy] == EL_ELEMENT_SNAPPING)
continue;
element = TILE_GFX_ELEMENT(xx, yy);