diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-07 12:33:40 +0300 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-07 19:52:53 +1000 |
commit | 3232b4719ebfaccae12c628b01c6ca37ad38254e (patch) | |
tree | e95548b672dddc54a27c8fe3124809a82ef0b914 /crawl-ref/source/spells1.cc | |
parent | 19c21942c0fd98b8034920f9bebd96bc8a8a5261 (diff) | |
download | crawl-ref-3232b4719ebfaccae12c628b01c6ca37ad38254e.tar.gz crawl-ref-3232b4719ebfaccae12c628b01c6ca37ad38254e.zip |
Replace mons_neutral with monsters::neutral.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 4abc752eb7..1b067f505c 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -687,7 +687,7 @@ void big_cloud(cloud_type cl_type, kill_category whose, killer_type killer, static bool _mons_hostile(const monsters *mon) { // Needs to be done this way because of friendly/neutral enchantments. - return (!mons_wont_attack(mon) && !mons_neutral(mon)); + return (!mons_wont_attack(mon) && !mon->neutral()); } static bool _can_pacify_monster(const monsters *mon, const int healed) |