diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 8f2389dc0..1a4e8a739 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -771,9 +771,9 @@ public class Hero extends Char { if (getCloser( action.dst )) { return true; - //Hero moves in place if there is a trap to trigger or grass to trample - } else if (!rooted && - (Dungeon.level.traps.get(pos) != null || Dungeon.level.map[pos] == Terrain.HIGH_GRASS)){ + //Hero moves in place if there is an active trap to trigger or grass to trample + } else if (!rooted && !flying && + (Dungeon.level.map[pos] == Terrain.TRAP || Dungeon.level.map[pos] == Terrain.HIGH_GRASS)){ Dungeon.level.pressCell(pos); spendAndNext( 1 / speed() ); return false;