diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java index 8abef8bab..b09cba42a 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java @@ -172,7 +172,7 @@ public class Tengu extends Mob { do { newPos = Random.Int(Level.LENGTH); } while ( - !Level.fieldOfView[newPos] || + !(Dungeon.level.map[newPos] == Terrain.INACTIVE_TRAP || Dungeon.level.map[newPos] == Terrain.TRAP)|| Level.solid[newPos] || Level.adjacent(newPos, enemy.pos) || Actor.findChar(newPos) != null);