diff options
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 65da17abf6..6d49fae5d7 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1908,7 +1908,7 @@ bool cast_sanctuary(const int power) // move towards the player. if (monsters* mon = monster_at(pos)) { - if (mons_friendly(mon)) + if (mon->friendly()) { mon->foe = MHITYOU; mon->target = you.pos(); @@ -2102,7 +2102,7 @@ bool recall(char type_recalled) if (monster->type == MONS_NO_MONSTER) continue; - if (!mons_friendly(monster)) + if (!monster->friendly()) continue; if (mons_class_is_stationary(monster->type)) |