summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.h
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2011-11-27 19:04:15 -0500
committerSamuel Bronson <naesten@gmail.com>2011-11-27 19:04:15 -0500
commit3d47468398f37a867831cde59fce3dd557fc3602 (patch)
tree69f1fee93d2897affa31412db93ae88c7981cebe /crawl-ref/source/invent.h
parentc9d3ac4e38880d9678031118cb3c364e2099ceaf (diff)
downloadcrawl-ref-3d47468398f37a867831cde59fce3dd557fc3602.tar.gz
crawl-ref-3d47468398f37a867831cde59fce3dd557fc3602.zip
Make prompt_invent_item handle case where only relevant item is excluded.
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index 3760d809ab..6a54ded736 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -185,7 +185,7 @@ protected:
invtitle_annotator title_annotate;
};
-bool any_items_to_select(int type_expect, bool msg = false);
+bool any_items_to_select(int type_expect, bool msg = false, int excluded_slot = -1);
int prompt_invent_item(const char *prompt,
menu_type type,