summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 217bb6164f..9577310ebb 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -102,7 +102,7 @@ int detect_items( int pow )
#ifdef USE_TILE
// Don't replace previously seen items with an unseen one.
if (!is_terrain_seen(*ri))
- tile_place_item_bk(ri->x, ri->y, TILE_UNSEEN_ITEM);
+ env.tile_bk_fg[ri->x][ri->y] = TILE_UNSEEN_ITEM;
#endif
}
}