v0.9.4: fixed succubi checking the wrong cell when blinking and large

This commit is contained in:
Evan Debenham 2021-08-11 14:45:24 -04:00
parent 010add28da
commit 2dc45d7841

View File

@ -131,7 +131,7 @@ public class Succubus extends Mob {
cell = route.collisionPos + n; cell = route.collisionPos + n;
if (Dungeon.level.passable[cell] if (Dungeon.level.passable[cell]
&& Actor.findChar( cell ) == null && Actor.findChar( cell ) == null
&& (!properties().contains(Property.LARGE) || Dungeon.level.openSpace[n])) { && (!properties().contains(Property.LARGE) || Dungeon.level.openSpace[cell])) {
candidates.add( cell ); candidates.add( cell );
} }
} }