diff options
author | Samuel Bronson <naesten@gmail.com> | 2011-11-27 19:04:15 -0500 |
---|---|---|
committer | Samuel Bronson <naesten@gmail.com> | 2011-11-27 19:04:15 -0500 |
commit | 3d47468398f37a867831cde59fce3dd557fc3602 (patch) | |
tree | 69f1fee93d2897affa31412db93ae88c7981cebe /crawl-ref/source/invent.h | |
parent | c9d3ac4e38880d9678031118cb3c364e2099ceaf (diff) | |
download | crawl-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.h | 2 |
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, |