From 3232b4719ebfaccae12c628b01c6ca37ad38254e Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sat, 7 Nov 2009 12:33:40 +0300 Subject: Replace mons_neutral with monsters::neutral. Signed-off-by: Jude Brown --- crawl-ref/source/output.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/output.cc') diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index c1c22bc802..605a20edfd 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -1086,7 +1086,7 @@ void draw_border(void) static bool _mons_hostile(const monsters *mon) { - return (!mon->friendly() && !mons_neutral(mon)); + return (!mon->friendly() && !mon->neutral()); } static std::string _get_monster_name(const monster_info& m, @@ -1101,7 +1101,7 @@ static std::string _get_monster_name(const monster_info& m, desc += "friendly "; adj = true; } - else if (mons_neutral(mon)) + else if (mon->neutral()) { desc += "neutral "; adj = true; @@ -1136,7 +1136,7 @@ bool compare_monsters_attitude( const monsters *m1, const monsters *m2 ) if (_mons_hostile(m1) && !_mons_hostile(m2)) return (true); - if (mons_neutral(m1)) + if (m1->neutral()) { if (m2->friendly()) return (true); -- cgit v1.2.3-54-g00ecf