diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-07 13:05:43 +0300 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-07 20:09:50 +1000 |
commit | 7a869a2b8fa07f329376019d4846455ba7580939 (patch) | |
tree | af5b61881ef3c7fd37076aeeea8b05e9e49a18db /crawl-ref/source/mon-behv.cc | |
parent | cef3b8421938589dc991e0976123fc6bd437146b (diff) | |
download | crawl-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.cc | 2 |
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); |