summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index d5625c2b9a..f7d1bac148 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -3985,12 +3985,9 @@ void tile_draw_floor()
const coord_def gc = view2grid(show2view(ep));
int bg = TILE_DNGN_UNSEEN | tile_unseen_flag(gc);
- int object = env.show(ep);
+ int object = show_appearance(ep);
if (in_bounds(gc) && object != 0)
{
- if (object == DNGN_SECRET_DOOR)
- object = (int)grid_secret_door_appearance(gc);
-
bg = tileidx_feature(object, gc.x, gc.y);
if (is_travelable_stair((dungeon_feature_type)object)