diff --git a/src/display.c b/src/display.c index 77dd47b47..9902040a2 100644 --- a/src/display.c +++ b/src/display.c @@ -3102,7 +3102,7 @@ check_pos(coordxy x, coordxy y, int which) return which; type = levl[x][y].typ; /* Everything below POOL, excluding TREE */ - if (IS_STWALL(type) || (type) == CORR || (type) == SCORR || IS_SDOOR(type)) + if (IS_STWALL(type) || type == CORR || type == SCORR || IS_SDOOR(type)) return which; return 0; }