diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-28 00:52:36 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-28 00:52:36 +0000 |
commit | a31b2be4cac9f1b6279180fddc6573d9c4a4bbe1 (patch) | |
tree | 916872e954bb50c1ab79a0a11fb96d059ad50e00 /crawl-ref/source/itemname.cc | |
parent | 9b8f344ce59317275be98a96417e821535274961 (diff) | |
download | crawl-ref-a31b2be4cac9f1b6279180fddc6573d9c4a4bbe1.tar.gz crawl-ref-a31b2be4cac9f1b6279180fddc6573d9c4a4bbe1.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4715 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index 224eb31dca..14a8c72474 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -88,8 +88,10 @@ std::string item_def::name(description_level_type descrip, || (is_random_artefact( *this ))); std::ostringstream buff; + const std::string auxname = this->name_aux(descrip, terse, ident, ignore_flags); + const bool startvowel = is_vowel(auxname[0]); if (descrip == DESC_INVENTORY_EQUIP || descrip == DESC_INVENTORY) |