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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 6d149e4d51..80e630bc2d 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -4078,9 +4078,9 @@ bool enchant_armour( int &ac_change, bool quiet, item_def &arm )
arm.name(DESC_CAP_YOUR).c_str());
}
- ac_change = arm.plus;
+ ac_change = property(arm, PARM_AC);
hide2armour(arm);
- ac_change = arm.plus - ac_change;
+ ac_change = property(arm, PARM_AC) - ac_change;
if (is_cursed)
do_uncurse_item( arm );