From 7a869a2b8fa07f329376019d4846455ba7580939 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sat, 7 Nov 2009 13:05:43 +0300 Subject: Replace mons_strict_neutral with monsters::strict_neutral. Signed-off-by: Jude Brown --- crawl-ref/source/mon-behv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-behv.cc') 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); -- cgit v1.2.3-54-g00ecf