From c3a4cb4b56ee0c0adcba9f503711ebb26adcc32c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 21 Jan 2021 18:32:19 -0500 Subject: [PATCH] v0.9.2: fixed giant flying enemies not able to move over chasms --- .../com/shatteredpixel/shatteredpixeldungeon/Dungeon.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java index 585ba6f3f..06eaa2322 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java @@ -787,7 +787,7 @@ public class Dungeon { } if (chars && Char.hasProp(ch, Char.Property.LARGE)){ - BArray.and( pass, Dungeon.level.openSpace, passable ); + BArray.and( passable, Dungeon.level.openSpace, passable ); } if (chars) { @@ -816,7 +816,7 @@ public class Dungeon { } if (Char.hasProp(ch, Char.Property.LARGE)){ - BArray.and( pass, Dungeon.level.openSpace, passable ); + BArray.and( passable, Dungeon.level.openSpace, passable ); } if (chars){ @@ -841,7 +841,7 @@ public class Dungeon { } if (Char.hasProp(ch, Char.Property.LARGE)){ - BArray.and( pass, Dungeon.level.openSpace, passable ); + BArray.and( passable, Dungeon.level.openSpace, passable ); } if (chars) {