diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-06 21:35:13 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-06 21:35:13 +0000 |
commit | 880c154e2eeb332f58468cc183c96e598892f6ee (patch) | |
tree | 1a6aab9c8da3e1d3846e82d41c5495196e39a4ba /crawl-ref/source/describe.cc | |
parent | f2cf0d501b52c3eb7c6b5bdc43ff5a5420d05dcd (diff) | |
download | crawl-ref-880c154e2eeb332f58468cc183c96e598892f6ee.tar.gz crawl-ref-880c154e2eeb332f58468cc183c96e598892f6ee.zip |
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
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 6 |
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) |