summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r--crawl-ref/source/mon-cast.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc
index 25d217e1dc..1878967d44 100644
--- a/crawl-ref/source/mon-cast.cc
+++ b/crawl-ref/source/mon-cast.cc
@@ -2085,7 +2085,7 @@ void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast,
if (spell_is_direct_explosion(spell_cast))
{
const actor *foe = monster->get_foe();
- const bool need_more = foe && (foe == &you || see_cell(foe->pos()));
+ const bool need_more = foe && (foe == &you || observe_cell(foe->pos()));
pbolt.in_explosion_phase = false;
pbolt.explode(need_more);
}
@@ -2323,7 +2323,7 @@ void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast)
{
target = "DEAD FOE";
}
- else if (in_bounds(pbolt.target) && see_cell(pbolt.target))
+ else if (in_bounds(pbolt.target) && observe_cell(pbolt.target))
{
if (const monsters* mtarg = monster_at(pbolt.target))
{