From 07819073fcadd8d39764d42a92296dde08cbd13f Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 6 Jan 2017 21:35:31 -0500 Subject: [PATCH] v0.5.0: fixed dungeon tile sheet not identifying water tiles as 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 dfa5bbb31..af1508248 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 directVisuals.get(tile, CHASM) < CHASM; + return tile == Terrain.WATER || directVisuals.get(tile, CHASM) < CHASM; }