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 f441b8e089..25ac97b10e 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -2023,7 +2023,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)
- && (you.is_undead || you.species == SP_DEMONSPAWN))
+ && player_is_unholy())
{
if (!quiet)
mpr( "This weapon will not allow you to wield it." );