summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index eb3f9dd9c8..bb8f286177 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -838,13 +838,13 @@ static void _corrupt_square(const crawl_environment &oenv, const coord_def &c)
#ifdef USE_TILE
if (feat == DNGN_ROCK_WALL)
{
- env.tile_flv(c).wall = tile_DNGN_start[IDX_WALL_UNDEAD]
- + random2(tile_DNGN_count[IDX_WALL_UNDEAD]);
+ env.tile_flv(c).wall = TILE_WALL_UNDEAD
+ + random2(tile_dngn_count[TILE_WALL_UNDEAD]);
}
else if (feat == DNGN_FLOOR)
{
- env.tile_flv(c).floor = tile_DNGN_start[IDX_FLOOR_NERVES]
- + random2(tile_DNGN_count[IDX_FLOOR_NERVES]);
+ env.tile_flv(c).floor = TILE_FLOOR_NERVES
+ + random2(tile_dngn_count[TILE_FLOOR_NERVES]);
}
#endif
}