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/monstuff.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/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index e9e42685a3..a36b349a03 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1967,7 +1967,7 @@ int monster_die(monsters *monster, killer_type killer, // KILL_RESET monsters no longer lose their whole inventory, only // items they were generated with. - if (mons_is_pacified(monster) || !monster->needs_transit()) + if (monster->pacified() || !monster->needs_transit()) { // A banished monster that doesn't go on the transit list // loses all items. @@ -2899,7 +2899,7 @@ static void _mons_indicate_level_exit(const monsters *mon) void make_mons_leave_level(monsters *mon) { - if (mons_is_pacified(mon)) + if (mon->pacified()) { if (you.can_see(mon)) _mons_indicate_level_exit(mon); |