Remove unnecessary macro that wasn't ideally named

Also add a comment that states the intent.
This commit is contained in:
nhmall
2024-11-26 23:27:29 -05:00
parent 3615b17b62
commit 15e70035d0
2 changed files with 2 additions and 2 deletions

View File

@@ -3101,7 +3101,8 @@ check_pos(coordxy x, coordxy y, int which)
if (!isok(x, y))
return which;
type = levl[x][y].typ;
if (IS_STWALL(type) || IS_CORR(type) || IS_SDOOR(type))
/* Everything below POOL, excluding TREE */
if (IS_STWALL(type) || (type) == CORR || (type) == SCORR || IS_SDOOR(type))
return which;
return 0;
}