diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-15 04:09:03 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-15 04:09:03 +0000 |
commit | a7d74c33016eccbeba9b258ac352fbca3f642ae6 (patch) | |
tree | a123b7032711ea006d6615cdca50b5e2c4290e6b /crawl-ref/source/itemname.cc | |
parent | b5cb57470c1ee90433ee657d807c543749fc5ce6 (diff) | |
download | crawl-ref-a7d74c33016eccbeba9b258ac352fbca3f642ae6.tar.gz crawl-ref-a7d74c33016eccbeba9b258ac352fbca3f642ae6.zip |
Add a few item database fixes. Rename "gloves" and "boots" to "pair of
gloves" and "pair of boots", respectively, so that they can be found in
the database (the latter fixes [1850497]). Also, in
item_def::name_aux(), disable the racial prefix for ammunition when
looking it up, so that racial ammunition can be found in the database.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3064 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, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index 71b217f2c3..c03793dd2b 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -1099,7 +1099,7 @@ std::string item_def::name_aux( description_level_type desc, buff << ' '; } - if (!basename) + if (!basename && !dbname) buff << racial_description_string(*this, terse); buff << ammo_name(static_cast<missile_type>(item_typ)); |