summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/attitude-change.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/attitude-change.cc')
-rw-r--r--crawl-ref/source/attitude-change.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/attitude-change.cc b/crawl-ref/source/attitude-change.cc
index 953bd164bb..5af5a8e753 100644
--- a/crawl-ref/source/attitude-change.cc
+++ b/crawl-ref/source/attitude-change.cc
@@ -110,7 +110,7 @@ void slime_convert(monsters* monster)
if (you.religion == GOD_JIYVA && mons_is_slime(monster)
&& !mons_is_summoned(monster)
&& !mons_is_shapeshifter(monster)
- && !mons_neutral(monster)
+ && !monster->neutral()
&& !monster->friendly()
&& !testbits(monster->flags, MF_ATT_CHANGE_ATTEMPT)
&& you.visible_to(monster) && !monster->asleep()