summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 77f82416c9..b405215f71 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -655,9 +655,13 @@ static void _handle_wizard_command( void )
if (item_cursed(item))
do_uncurse_item(item);
- else
+ else if (item.base_type == OBJ_WEAPONS || item.base_type == OBJ_ARMOUR
+ || item.base_type == OBJ_JEWELLERY)
+ {
do_curse_item(item);
-
+ }
+ else
+ mpr("That item cannot be cursed.");
break;
}