diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-28 20:50:05 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-28 20:50:05 -0800 |
commit | e44ce374c8feff8cd3a7848195e2aa851d5ff971 (patch) | |
tree | c1993163ee3c5fbbfc07397dffd4430e9b8193c6 /crawl-ref/source/shopping.h | |
parent | 6549b8ba1c7b2f91229581f76c059df8f4244ec2 (diff) | |
download | crawl-ref-e44ce374c8feff8cd3a7848195e2aa851d5ff971.tar.gz crawl-ref-e44ce374c8feff8cd3a7848195e2aa851d5ff971.zip |
ShoppingList: deal better with mult identical item
Diffstat (limited to 'crawl-ref/source/shopping.h')
-rw-r--r-- | crawl-ref/source/shopping.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/shopping.h b/crawl-ref/source/shopping.h index 5ff854159e..ab874c7f09 100644 --- a/crawl-ref/source/shopping.h +++ b/crawl-ref/source/shopping.h @@ -60,6 +60,9 @@ public: int size() const; + static bool items_are_same(const item_def& item_a, + const item_def& item_b); + private: CrawlVector* list; |