diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-06-30 10:21:15 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-06-30 10:23:49 +0530 |
commit | 62afff96bce891f8f3850ff524afcb07fe9e2254 (patch) | |
tree | 3049b0ad5463c7299d7db0297b677a83f85cc7e7 /crawl-ref/source/shopping.h | |
parent | 7196836d6aba6a8b343da48149436dc3de301a05 (diff) | |
download | crawl-ref-62afff96bce891f8f3850ff524afcb07fe9e2254.tar.gz crawl-ref-62afff96bce891f8f3850ff524afcb07fe9e2254.zip |
[1437] Fix shopping list ASSERT after removing items from list (MarvinPA).
Diffstat (limited to 'crawl-ref/source/shopping.h')
-rw-r--r-- | crawl-ref/source/shopping.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/shopping.h b/crawl-ref/source/shopping.h index 118182261a..8ae686d4e5 100644 --- a/crawl-ref/source/shopping.h +++ b/crawl-ref/source/shopping.h @@ -77,6 +77,7 @@ private: private: int find_thing(const item_def &item, const level_pos &pos) const; int find_thing(const std::string &desc, const level_pos &pos) const; + void del_thing_at_index(int idx); void fill_out_menu(Menu& shopmenu); |