summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index d35a5a9751..6eb97aba92 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -1546,7 +1546,7 @@ void StashTracker::update_visible_stashes(
for (int cy = crawl_view.glos1.y; cy <= crawl_view.glos2.y; ++cy)
for (int cx = crawl_view.glos1.x; cx <= crawl_view.glos2.x; ++cx)
{
- if (!in_bounds(cx, cy) || !see_grid(cx, cy))
+ if (!in_bounds(cx, cy) || !see_cell(cx, cy))
continue;
const dungeon_feature_type grid = grd[cx][cy];