From d2b2771f321e9310f622d22478edc6b2e468b24c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 16 Dec 2015 02:50:13 -0500 Subject: [PATCH] v0.3.3: fixed a bug with Tengu's blink ability --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);