X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=133a8265d6eee5631b1db356305c27e24218e554;hb=bf9e47bb97f16c998644758a383209fa4d4fc87b;hp=2ca18cf6b5f773e117aa6e0ebbfaf0fc010479f3;hpb=567cfcb396e3fc031a25362b747dd0a5a096b4ec;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 2ca18cf6..133a8265 100644 --- a/src/tools.c +++ b/src/tools.c @@ -2322,6 +2322,10 @@ void DrawScreenField(int x, int y) int newly = ly + (dir == MV_UP ? -1 : dir == MV_DOWN ? +1 : 0); DrawLevelElementThruMask(newlx, newly, EL_ACID); + + // prevent target field from being drawn again (but without masking) + // (this would happen if target field is scanned after moving element) + Stop[newlx][newly] = TRUE; } } else if (IS_BLOCKED(lx, ly))