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 ffb665f089..23c2861b13 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -2084,7 +2084,7 @@ bool check_weapon_shape( const item_def &item, bool quiet, bool check_id )
&& ((item.base_type == OBJ_WEAPONS
&& is_blessed_blade(item))
|| brand == SPWPN_HOLY_WRATH)
- && player_is_unholy())
+ && you.is_unholy())
{
if (!quiet)
mpr("This weapon will not allow you to wield it.");