diff options
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 00eb067077..88f6d9cb23 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -4101,9 +4101,10 @@ static bool _handle_enchant_armour( int item_slot ) OSEL_ENCH_ARM, true, true, false ); } - if (item_slot == -1) + if (item_slot == PROMPT_ABORT || item_slot == PROMPT_NOTHING) { - canned_msg( MSG_OK ); + if (item_slot == PROMPT_ABORT) + canned_msg( MSG_OK ); return (false); } |