From 110b7169f469de55651785e007c822f9e6f75c7e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 19 Dec 2018 00:09:50 +0100 Subject: [PATCH] fixed graphical bug when digging (crumbled) sand next to other player --- src/tools.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tools.c b/src/tools.c index 2ff2a6e3..3f9fa56f 100644 --- 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); -- 2.34.1