diff options
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 4cb64dcd99..b3222f3817 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -688,7 +688,7 @@ void big_cloud(cloud_type cl_type, kill_category whose, killer_type killer, static bool _mons_hostile(const monsters *mon) { // Needs to be done this way because of friendly/neutral enchantments. - return (!mons_wont_attack(mon) && !mon->neutral()); + return (!mon->wont_attack() && !mon->neutral()); } static bool _can_pacify_monster(const monsters *mon, const int healed) @@ -1138,7 +1138,7 @@ void abjuration(int pow) if (monster->type == MONS_NO_MONSTER || !mons_near(monster)) continue; - if (mons_wont_attack(monster)) + if (monster->wont_attack()) continue; int duration; |