summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 5603d1ac76..e0e6e5dc2b 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -513,6 +513,9 @@ void do_curse_item( item_def &item, bool quiet )
{
mprf("Your %s glows black for a moment.",
item.name(DESC_PLAIN).c_str());
+
+ // If we get the message, we know the item is cursed now.
+ item.flags |= ISFLAG_KNOW_CURSE;
}
item.flags |= ISFLAG_CURSED;