summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-07 13:05:43 +0300
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-07 20:09:50 +1000
commit7a869a2b8fa07f329376019d4846455ba7580939 (patch)
treeaf5b61881ef3c7fd37076aeeea8b05e9e49a18db /crawl-ref/source/mon-behv.cc
parentcef3b8421938589dc991e0976123fc6bd437146b (diff)
downloadcrawl-ref-7a869a2b8fa07f329376019d4846455ba7580939.tar.gz
crawl-ref-7a869a2b8fa07f329376019d4846455ba7580939.zip
Replace mons_strict_neutral with monsters::strict_neutral.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/mon-behv.cc')
-rw-r--r--crawl-ref/source/mon-behv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc
index a5822cc401..671c8eec1e 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -1471,7 +1471,7 @@ void handle_behaviour(monsters *mon)
return;
}
- if (mons_strict_neutral(mon) && mons_is_slime(mon)
+ if (mon->strict_neutral() && mons_is_slime(mon)
&& you.religion == GOD_JIYVA)
{
_set_random_slime_target(mon);