diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java index 9fd298a5d..e4b482f47 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java @@ -1009,7 +1009,7 @@ public class Dungeon { public static int findStep(Char ch, int to, boolean[] pass, boolean[] visible, boolean chars ) { if (Dungeon.level.adjacent( ch.pos, to )) { - return Actor.findChar( to ) == null && (pass[to] || Dungeon.level.avoid[to]) ? to : -1; + return Actor.findChar( to ) == null && pass[to] ? to : -1; } return PathFinder.getStep( ch.pos, to, findPassable(ch, pass, visible, chars) );