From e44ce374c8feff8cd3a7848195e2aa851d5ff971 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sat, 28 Nov 2009 20:50:05 -0800 Subject: ShoppingList: deal better with mult identical item --- crawl-ref/source/shopping.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/shopping.h') 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; -- cgit v1.2.3-54-g00ecf