diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-05 20:40:48 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-05 20:40:48 -0700 |
commit | 727dbd68da90d3249656771f2fd1f44e995aa068 (patch) | |
tree | e61291c20935e83b6ed881d53fd79c06482245d0 /crawl-ref/source/item_use.cc | |
parent | 23cfd756bfba6ec78f7ae2b5d8da3fb97c3e00f9 (diff) | |
download | crawl-ref-727dbd68da90d3249656771f2fd1f44e995aa068.tar.gz crawl-ref-727dbd68da90d3249656771f2fd1f44e995aa068.zip |
Re-fix ?ew not marking items uncursed (8653)
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index eb27db3ea7..bb7d50a49b 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2347,9 +2347,10 @@ bool enchant_weapon(item_def &wpn, bool quiet) { if (!success) mprf("%s glows silver for a moment.", iname.c_str()); - do_uncurse_item(wpn, true, true); success = true; } + // Mark the item as uncursed, whether or not it was cursed initially. + do_uncurse_item(wpn, true, true); } if (!success && !quiet) |