summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 9ab722f446..5148cd9d65 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2570,7 +2570,8 @@ bool puton_ring(int slot, bool prompt_finger)
item_slot = slot;
else
item_slot = prompt_invent_item( "Put on which piece of jewellery?",
- MT_INVLIST, OBJ_JEWELLERY );
+ MT_INVLIST, OBJ_JEWELLERY, true, true, true, 0, NULL,
+ OPER_PUTON );
if (item_slot == PROMPT_ABORT)
{
@@ -3516,7 +3517,10 @@ void read_scroll(void)
int item_slot = prompt_invent_item(
"Read which item?",
MT_INVLIST,
- OBJ_SCROLLS );
+ OBJ_SCROLLS,
+ true, true, true, 0, NULL,
+ OPER_READ );
+
if (item_slot == PROMPT_ABORT)
{
canned_msg( MSG_OK );