mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-01 10:24:30 +07:00
Rolled back change to apply only to layer 0
This commit is contained in:
parent
e4bfcd63c4
commit
08abc390af
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user