diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java index 4f19161bb..59718f725 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java @@ -397,9 +397,14 @@ public abstract class Char extends Actor { public void move( int step ) { if (Level.adjacent( step, pos ) && buff( Vertigo.class ) != null) { - step = pos + Level.NEIGHBOURS8[Random.Int( 8 )]; - if (!(Level.passable[step] || Level.avoid[step]) || Actor.findChar( step ) != null) + sprite.interruptMotion(); + int newPos = pos + Level.NEIGHBOURS8[Random.Int( 8 )]; + if (!(Level.passable[newPos] || Level.avoid[newPos]) || Actor.findChar( newPos ) != null) return; + else { + sprite.move(pos, newPos); + step = newPos; + } } if (Dungeon.level.map[pos] == Terrain.OPEN_DOOR) {