v0.9.1: fixed vertigoed large chars ignoring open space rules
This commit is contained in:
parent
28bea55368
commit
a44f84c271
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user