From 880c154e2eeb332f58468cc183c96e598892f6ee Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 6 Mar 2009 21:35:13 +0000 Subject: Fix description of monsters' flight status. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9351 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/describe.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index c7e92a6740..dd29a70745 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2700,15 +2700,15 @@ static std::string _monster_stat_description(const monsters& mon) result << ".$"; } - // Can the monster fly/levitate? - const flight_type fly = mons_class_flies(mon.type); + // Can the monster levitate/fly? + const flight_type fly = mons_flies(&mon); if (fly != FL_NONE) { result << pronoun << " can " << (fly == FL_FLY ? "fly" : "levitate") << ".$"; } - return result.str(); + return (result.str()); } void get_monster_desc(const monsters& mons, describe_info &inf, bool force_seen) -- cgit v1.2.3-54-g00ecf