mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Fix for being able to walk on furniture that has 8 rotations #1727
This commit is contained in:
parent
0f3ca7807e
commit
a9d7960405
@ -612,6 +612,11 @@ public class RoomLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (rotation == 1 || rotation == 3 || rotation == 5 || rotation == 7) {
|
||||||
|
RoomTile t = this.getTile(tile.getX(), tile.getY());
|
||||||
|
if (t == null || t.getState() == RoomTileState.INVALID) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -642,9 +647,13 @@ public class RoomLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (rotation == 1 || rotation == 3 || rotation == 5 || rotation == 7) {
|
||||||
|
RoomTile t = this.getTile(tile.getX(), tile.getY());
|
||||||
|
if (t != null) {
|
||||||
|
pointList.add(t);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return pointList;
|
return pointList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user