summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 797cf347ef..efb602bae9 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -6749,7 +6749,7 @@ int get_tension(god_type god, bool count_travelling)
if (!mons->alive())
continue;
- if (see_cell(mons->pos()))
+ if (you.see_cell(mons->pos()))
{
// Monster is nearby.
if (!nearby_monster && !mons_wont_attack(mons))
@@ -6771,7 +6771,7 @@ int get_tension(god_type god, bool count_travelling)
target = mons->target;
// Monster is neither nearby nor trying to get near us.
- if (!in_bounds(target) || !see_cell(target))
+ if (!in_bounds(target) || !you.see_cell(target))
continue;
}