summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 34c1fdbaea..b162e2e739 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -1336,6 +1336,12 @@ int prompt_invent_item( const char *prompt,
int *const count,
operation_types oper )
{
+ if (!_any_items_to_select(type_expect) && type_expect == OSEL_THROWABLE
+ && oper == OPER_FIRE && mtype == MT_INVLIST)
+ {
+ type_expect = OSEL_ANY;
+ }
+
if (!_any_items_to_select(type_expect) && type_expect != OSEL_WIELD
&& mtype == MT_INVLIST)
{