summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.cc
diff options
context:
space:
mode:
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);