summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-15 15:35:28 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-15 15:49:46 +0100
commitba0dc9345572f0120a622a15eb1c4ef461110b65 (patch)
tree022a199dbe803919bb4bed808062ddad2a4322fc /crawl-ref/source/artefact.cc
parentded9e45204db0430fe6f5b3c60c73ddc458fe54e (diff)
downloadcrawl-ref-ba0dc9345572f0120a622a15eb1c4ef461110b65.tar.gz
crawl-ref-ba0dc9345572f0120a622a15eb1c4ef461110b65.zip
Remove code duplication by making artifacts use SPARM_SPIRIT_SHIELD.
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index 46e9b84d6a..9b2cc6feed 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -1067,7 +1067,7 @@ void static _get_randart_properties(const item_def &item,
if (!done_powers && one_chance_in(10) && aclass == OBJ_ARMOUR
&& (atype == ARM_CAP || atype == ARM_SHIELD))
{
- proprt[ARTP_SPIRIT_SHIELD] = 1;
+ proprt[ARTP_BRAND] = SPARM_SPIRIT_SHIELD;
power_level++;
}