Rolled back change to apply only to layer 0

This commit is contained in:
Collin Smith 2019-12-03 14:06:27 -08:00
parent e4bfcd63c4
commit 08abc390af

View File

@ -999,9 +999,8 @@ public class Map implements Disposable {
or(zone, tx, ty, DT1.Tile.FLAG_BLOCK_WALK);
}
// this seems to consistently block non-level cells
if (l == 0 && (cell.value & DS1.Cell.FLOOR_UNWALK_MASK) == 0) {
or(zone, tx, ty, DT1.Tile.FLAG_BLOCK_WALK);
if ((cell.value & DS1.Cell.FLOOR_UNWALK_MASK) == 0) {
if (l == 0) or(zone, tx, ty, DT1.Tile.FLAG_BLOCK_WALK);
continue;
}