X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=0c7bf17b1d6e647eec594cc2e5b723f828dd0ab7;hb=ba30b2aedd9a673be5c23ebb2c5f25a4616daaa5;hp=5bba1c107785e4bfbb5dc8dc1c70e03ca7037f4a;hpb=ac4c028b525860750de315d626730ac493f56944;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 5bba1c10..0c7bf17b 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1072,9 +1072,9 @@ void DrawScreenElementExt(int x, int y, int dx, int dy, int element, { boolean left_stopped = FALSE, right_stopped = FALSE; - if (!IN_LEV_FIELD(lx - 1, ly) || IS_MAUER(Feld[lx - 1][ly])) + if (!IN_LEV_FIELD(lx - 1, ly) || IS_WALL(Feld[lx - 1][ly])) left_stopped = TRUE; - if (!IN_LEV_FIELD(lx + 1, ly) || IS_MAUER(Feld[lx + 1][ly])) + if (!IN_LEV_FIELD(lx + 1, ly) || IS_WALL(Feld[lx + 1][ly])) right_stopped = TRUE; if (left_stopped && right_stopped)