From a44f84c2715881f441060ef2b920288c40ee5590 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 31 Oct 2020 15:08:06 -0400 Subject: [PATCH] v0.9.1: fixed vertigoed large chars ignoring open space rules --- .../com/shatteredpixel/shatteredpixeldungeon/actors/Char.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java index e90dbbbe6..8a677b495 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java @@ -684,7 +684,7 @@ public abstract class Char extends Actor { sprite.interruptMotion(); int newPos = pos + PathFinder.NEIGHBOURS8[Random.Int( 8 )]; if (!(Dungeon.level.passable[newPos] || Dungeon.level.avoid[newPos]) - || (properties().contains(Property.LARGE) && !Dungeon.level.openSpace[pos]) + || (properties().contains(Property.LARGE) && !Dungeon.level.openSpace[newPos]) || Actor.findChar( newPos ) != null) return; else {