Check for levl typ STONE explicitly
... instead of expecting 0 to be STONE (or unused space in this case)
This commit is contained in:
@@ -1279,7 +1279,7 @@ boolean vault;
|
||||
ymax = (ROWNO - 1);
|
||||
lev = &levl[x][y];
|
||||
for (; y <= ymax; y++) {
|
||||
if (lev++->typ) {
|
||||
if (lev++->typ != STONE) {
|
||||
if (!vault) {
|
||||
debugpline2("strange area [%d,%d] in check_room.", x, y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user