From cc2b0a0cb809f46c200985d029370e263495f66d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 3 Jan 2017 20:41:17 -0500 Subject: [PATCH] v0.5.0: fixed logic for checking if a tile is part of the floor --- .../shatteredpixeldungeon/tiles/DungeonTileSheet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonTileSheet.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonTileSheet.java index 2c11db6be..fb88e0647 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonTileSheet.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonTileSheet.java @@ -104,7 +104,7 @@ public class DungeonTileSheet { public static boolean floorTile(int tile){ - return tile < CHASM; + return directVisuals.get(tile, CHASM) < CHASM; }