mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Removed special powers from the door tile - Closes #481
This commit is contained in:
parent
d3a85d054c
commit
d14fde712e
@ -288,7 +288,7 @@ public class RoomLayout {
|
||||
for (RoomTile currentAdj : adjacentNodes) {
|
||||
if (closedList.contains(currentAdj)) continue;
|
||||
|
||||
if (roomUnit.canOverrideTile(currentAdj) || (currentAdj.state != RoomTileState.BLOCKED && currentAdj.x == doorX && currentAdj.y == doorY)) {
|
||||
if (roomUnit.canOverrideTile(currentAdj)) {
|
||||
currentAdj.setPrevious(current);
|
||||
currentAdj.sethCosts(this.findTile(openList, newTile.x, newTile.y));
|
||||
currentAdj.setgCosts(current);
|
||||
|
Loading…
Reference in New Issue
Block a user