summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index df3b1a62d5..f91ba57993 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -735,11 +735,11 @@ void tile_draw_floor()
int bg = TILE_DNGN_UNSEEN | tile_unseen_flag(gc);
- if (in_bounds(gc) && you.see_cell(gc))
+ if (you.see_cell(gc))
{
dungeon_feature_type feat = grid_appearance(gc);
bg = tileidx_feature(feat, gc.x, gc.y);
-
+
if (feat == DNGN_DETECTED_SECRET_DOOR)
bg |= TILE_FLAG_WAS_SECRET;
else if (is_unknown_stair(gc))