diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-09 14:57:14 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-09 14:58:20 +0300 |
commit | 2633544c49534e75bdc777f9262789c628a965c4 (patch) | |
tree | 1c1e500940dd52d287c59eafbfa6ab2409d271e0 /crawl-ref/source/mon-util.cc | |
parent | 9338556ebf846bbc4176134e3846ef6699e8434b (diff) | |
download | crawl-ref-2633544c49534e75bdc777f9262789c628a965c4.tar.gz crawl-ref-2633544c49534e75bdc777f9262789c628a965c4.zip |
Replace mons_is_pacified with monsters::pacified.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 64e6e167ff..6c36113b11 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -1951,11 +1951,6 @@ int mons_base_damage_brand(const monsters *m) return (SPWPN_NORMAL); } -bool mons_is_pacified(const monsters *m) -{ - return (m->attitude == ATT_NEUTRAL && testbits(m->flags, MF_GOT_HALF_XP)); -} - bool mons_att_wont_attack(mon_attitude_type fr) { return (fr == ATT_FRIENDLY || fr == ATT_GOOD_NEUTRAL || fr == ATT_STRICT_NEUTRAL); |