summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transfor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r--crawl-ref/source/transfor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc
index 4570eeb7aa..070841ae21 100644
--- a/crawl-ref/source/transfor.cc
+++ b/crawl-ref/source/transfor.cc
@@ -16,6 +16,7 @@ REVISION("$Rev$");
#include "externs.h"
+#include "artefact.h"
#include "delay.h"
#include "invent.h"
#include "it_use2.h"
@@ -25,7 +26,6 @@ REVISION("$Rev$");
#include "misc.h"
#include "output.h"
#include "player.h"
-#include "randart.h"
#include "skills2.h"
#include "state.h"
#include "stuff.h"
@@ -401,7 +401,7 @@ bool check_transformation_stat_loss(const std::set<equipment_type> &remove,
}
}
- if (is_random_artefact(item))
+ if (is_artefact(item))
{
prop_str += artefact_known_wpn_property(item, ARTP_STRENGTH);
prop_int += artefact_known_wpn_property(item, ARTP_INTELLIGENCE);