summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-abil.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-09 14:57:14 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-09 14:58:20 +0300
commit2633544c49534e75bdc777f9262789c628a965c4 (patch)
tree1c1e500940dd52d287c59eafbfa6ab2409d271e0 /crawl-ref/source/mon-abil.cc
parent9338556ebf846bbc4176134e3846ef6699e8434b (diff)
downloadcrawl-ref-2633544c49534e75bdc777f9262789c628a965c4.tar.gz
crawl-ref-2633544c49534e75bdc777f9262789c628a965c4.zip
Replace mons_is_pacified with monsters::pacified.
Diffstat (limited to 'crawl-ref/source/mon-abil.cc')
-rw-r--r--crawl-ref/source/mon-abil.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-abil.cc b/crawl-ref/source/mon-abil.cc
index ab5c2669b2..11a32b6d45 100644
--- a/crawl-ref/source/mon-abil.cc
+++ b/crawl-ref/source/mon-abil.cc
@@ -1181,7 +1181,7 @@ bool mon_special_ability(monsters *monster, bolt & beem)
// confused, fleeing, or leaving the level.
if (monster->has_ench(ENCH_CONFUSION)
|| mons_is_fleeing(monster)
- || mons_is_pacified(monster)
+ || monster->pacified()
|| monster->friendly()
|| !player_can_hear(monster->pos()))
{
@@ -1283,7 +1283,7 @@ bool _eyeball_will_use_ability (monsters *monster)
return (coinflip()
&& !mons_is_wandering(monster)
&& !mons_is_fleeing(monster)
- && !mons_is_pacified(monster)
+ && !monster->pacified()
&& !player_or_mon_in_sanct(monster));
}