summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc6
1 files changed, 3 insertions, 3 deletions
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)