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.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 4f5af8d051..a58057e26a 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3773,6 +3773,13 @@ void jewellery_remove_effects(item_def &item, bool mesg)
}
break;
+ case RING_INVISIBILITY:
+ if (you.duration[DUR_INVIS])
+ {
+ you.duration[DUR_INVIS] = 1;
+ }
+ break;
+
case RING_MAGICAL_POWER:
mpr("You feel your mana capacity decrease.");
// dec_max_mp(9);