diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 19:29:58 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 19:49:05 -0800 |
commit | cd00c7c93769471efefc523b675cdbbdf3819fdf (patch) | |
tree | 38376ccf13e7f38953cd2dc64e5a2aca92867b21 /crawl-ref/source | |
parent | 07709472a29e1dca1b12e0feb51b5e596b6b2002 (diff) | |
download | crawl-ref-cd00c7c93769471efefc523b675cdbbdf3819fdf.tar.gz crawl-ref-cd00c7c93769471efefc523b675cdbbdf3819fdf.zip |
ShoppingList::item_name_simple(): include pluses
Include pluses in the name returned by item_name_simple(), so that a
shop with two wands of the same type but with different charges will be
distinguishable.
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/shopping.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index d3b6a1ee95..3c40e45b97 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -2814,9 +2814,9 @@ std::string ShoppingList::describe_thing(const CrawlHashTable& thing, return (desc); } -// Item name without plusses, curse-status or inscription. +// Item name without curse-status or inscription. std::string ShoppingList::item_name_simple(const item_def& item, bool ident) { return item.name(DESC_PLAIN, false, ident, false, false, - ISFLAG_KNOW_CURSE | ISFLAG_KNOW_PLUSES); + ISFLAG_KNOW_CURSE); } |