diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Ghoul.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Ghoul.java index a981bd0d6..8c4f8296d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Ghoul.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Ghoul.java @@ -108,7 +108,9 @@ public class Ghoul extends Mob { int[] neighbours = {pos + 1, pos - 1, pos + Dungeon.level.width(), pos - Dungeon.level.width()}; for (int n : neighbours) { - if (Dungeon.level.passable[n] && Actor.findChar( n ) == null) { + if (Dungeon.level.passable[n] + && Actor.findChar( n ) == null + && (!Char.hasProp(this, Property.LARGE) || Dungeon.level.openSpace[n])) { candidates.add( n ); } } @@ -250,7 +252,9 @@ public class Ghoul extends Mob { ArrayList candidates = new ArrayList<>(); for (int n : PathFinder.NEIGHBOURS8) { int cell = ghoul.pos + n; - if (Dungeon.level.passable[cell] && Actor.findChar( cell ) == null) { + if (Dungeon.level.passable[cell] + && Actor.findChar( cell ) == null + && (!Char.hasProp(ghoul, Property.LARGE) || Dungeon.level.openSpace[cell])) { candidates.add( cell ); } }