summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-06 23:46:07 -0400
committerNeil Moore <neil@s-z.org>2014-06-07 00:34:49 -0400
commitbc1ee5ff183cf15f10ee1569d652e9c3e004e00e (patch)
tree11cdf4a21729c90f574a93c7aefa4442cef5c80d /crawl-ref/source/item_use.cc
parent2a59467bad1e42854f2defd6f7c9e05c98cfb553 (diff)
downloadcrawl-ref-bc1ee5ff183cf15f10ee1569d652e9c3e004e00e.tar.gz
crawl-ref-bc1ee5ff183cf15f10ee1569d652e9c3e004e00e.zip
Mark weapons as known-uncursed after enchanting (#8653)
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index d65ff9dd7f..bc37997e89 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2272,9 +2272,9 @@ bool enchant_weapon(item_def &wpn, int acc, int dam, const char *colour)
colour = space + 1;
mprf("%s glow%s silvery %s for a moment.", iname.c_str(), s, colour);
}
- do_uncurse_item(wpn, true, true);
success = true;
}
+ do_uncurse_item(wpn, true, true);
}
if (!success && colour)