summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/tile2.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/tile2.cc b/crawl-ref/source/tile2.cc
index c2ae2cb4ae..d228f35922 100644
--- a/crawl-ref/source/tile2.cc
+++ b/crawl-ref/source/tile2.cc
@@ -65,6 +65,8 @@ int get_floor_special_tile_idx()
return special_tile_idx;
}
+// TODO: Add this sort of determinism to the lua maps,
+// at least for the portal walls.
void WallIdx(int &wall, int &floor, int &special)
{
// Note: This function must be deterministic.
@@ -220,6 +222,12 @@ void WallIdx(int &wall, int &floor, int &special)
floor = TILE_FLOOR_SLIME;
return;
}
+ else if (you.level_type_name == "ice_cave")
+ {
+ wall = TILE_WALL_ICE;
+ floor = TILE_FLOOR_ICE;
+ return;
+ }
}
int depth = player_branch_depth();