From 2ac4093ff9bbefed1ba51a3865507ac49a419bbd Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sat, 7 Nov 2009 17:33:57 +0300 Subject: Replace mons_is_summoned with monsters::is_summoned. Signed-off-by: Charles Otto --- crawl-ref/source/directn.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/directn.cc') 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 += ", "; -- cgit v1.2.3-54-g00ecf