diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-07 17:33:57 +0300 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-11-07 10:42:15 -0500 |
commit | 2ac4093ff9bbefed1ba51a3865507ac49a419bbd (patch) | |
tree | 70540da625559c02abc8094107f6a651c7e26f41 /crawl-ref/source/directn.cc | |
parent | 96b804bb7a2bdc6ad25c6b45975bc0d4c8f19fbb (diff) | |
download | crawl-ref-2ac4093ff9bbefed1ba51a3865507ac49a419bbd.tar.gz crawl-ref-2ac4093ff9bbefed1ba51a3865507ac49a419bbd.zip |
Replace mons_is_summoned with monsters::is_summoned.
Signed-off-by: Charles Otto <ottochar@gmail.com>
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 1152999ce0..efd865515b 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -3138,7 +3138,7 @@ static std::string _get_monster_desc(const monsters *mon) else if (mon->neutral()) // don't differentiate between permanent or not text += pronoun + " is indifferent to you.\n"; - if (mons_is_summoned(mon) && mon->type != MONS_RAKSHASA_FAKE) + if (mon->is_summoned() && mon->type != MONS_RAKSHASA_FAKE) text += pronoun + " has been summoned.\n"; if (mon->haloed()) @@ -3236,7 +3236,7 @@ std::string get_monster_equipment_desc(const monsters *mon, bool full_desc, else if (mon->neutral()) str = "neutral"; - if (mons_is_summoned(mon)) + if (mon->is_summoned()) { if (!str.empty()) str += ", "; |