summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 997d571e6d..d818a7f5ea 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4293,7 +4293,7 @@ bool dgn_place_map(const map_def *mdef, bool clobber, bool make_no_exits,
for (int i = 0, size = markers.size(); i < size; ++i)
markers[i]->activate();
- if (!see_cell(x, y))
+ if (!you.see_cell(coord_def(x, y)))
set_terrain_changed(x, y);
}