diff options
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r-- | crawl-ref/source/travel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc index 8dfb9a2a96..191f7d480a 100644 --- a/crawl-ref/source/travel.cc +++ b/crawl-ref/source/travel.cc @@ -1658,7 +1658,7 @@ void find_travel_pos(const coord_def& youpos, { coord_def unseen = coord_def(); for (adjacent_iterator ai(dest); ai; ++ai) - if (!see_cell(*ai) + if (!you.see_cell(*ai) && (!is_terrain_seen(*ai) || !feat_is_wall(grd(*ai)))) { unseen = *ai; |