summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-28 20:50:05 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-28 20:50:05 -0800
commite44ce374c8feff8cd3a7848195e2aa851d5ff971 (patch)
treec1993163ee3c5fbbfc07397dffd4430e9b8193c6 /crawl-ref/source/shopping.h
parent6549b8ba1c7b2f91229581f76c059df8f4244ec2 (diff)
downloadcrawl-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.h3
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;