summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 23c2861b13..a407337fc5 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -2520,7 +2520,7 @@ bool gives_ability(const item_def &item)
return (false);
// Check for evokable randart properties.
- for (int rap = ARTP_INVISIBLE; rap <= ARTP_MAPPING; rap++)
+ for (int rap = ARTP_INVISIBLE; rap <= ARTP_BERSERK; rap++)
if (artefact_wpn_property( item, static_cast<artefact_prop_type>(rap) ))
return (true);