summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.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/effects.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/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index f2b0635406..d00e4eec61 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -4183,7 +4183,7 @@ void update_level(double elapsedTime)
#endif
// Pacified monsters often leave the level now.
- if (mons_is_pacified(mon) && turns > random2(40) + 21)
+ if (mon->pacified() && turns > random2(40) + 21)
{
make_mons_leave_level(mon);
continue;