summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/quiver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r--crawl-ref/source/quiver.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc
index e40a76159a..12b8d5a9ad 100644
--- a/crawl-ref/source/quiver.cc
+++ b/crawl-ref/source/quiver.cc
@@ -147,12 +147,7 @@ void choose_item_for_quiver()
OSEL_THROWABLE, true, true, true, '-',
you.equip[EQ_WEAPON], NULL, OPER_QUIVER );
- if (slot == PROMPT_ABORT)
- {
- canned_msg(MSG_OK);
- return;
- }
- else if (slot == PROMPT_NOTHING)
+ if (prompt_failed(slot))
return;
if (slot == PROMPT_GOT_SPECIAL) // '-' or empty quiver