summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transfor.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-08 04:56:38 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-08 04:56:38 +0000
commitd5f262eb187ed2a96b0216103210c8ba8057d59c (patch)
tree09a1c4a988f7f515d2c35a1092ba427784b20cc6 /crawl-ref/source/transfor.cc
parenteff7b910f0081718d468b2158cbc18f4ede83ddb (diff)
downloadcrawl-ref-d5f262eb187ed2a96b0216103210c8ba8057d59c.tar.gz
crawl-ref-d5f262eb187ed2a96b0216103210c8ba8057d59c.zip
Since fixed artefacts are going to be folded into unrandarts, and unrandarts
have already become almost identical to randarts, change "randart" to "artefact" everywhere except for things that deal exclusively with randarts. Artefact related files will be renamed later. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9921 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r--crawl-ref/source/transfor.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc
index ca8cfd5cc4..4570eeb7aa 100644
--- a/crawl-ref/source/transfor.cc
+++ b/crawl-ref/source/transfor.cc
@@ -403,9 +403,9 @@ bool check_transformation_stat_loss(const std::set<equipment_type> &remove,
if (is_random_artefact(item))
{
- prop_str += randart_known_wpn_property(item, RAP_STRENGTH);
- prop_int += randart_known_wpn_property(item, RAP_INTELLIGENCE);
- prop_dex += randart_known_wpn_property(item, RAP_DEXTERITY);
+ prop_str += artefact_known_wpn_property(item, ARTP_STRENGTH);
+ prop_int += artefact_known_wpn_property(item, ARTP_INTELLIGENCE);
+ prop_dex += artefact_known_wpn_property(item, ARTP_DEXTERITY);
}
// Since there might be multiple items whose effects cancel each other