diff options
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 5fae319d04..62117fb904 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -666,7 +666,7 @@ void set_equip_race( item_def &item, unsigned long flags ) || item.sub_type == WPN_DEMON_BLADE || item.sub_type == WPN_DEMON_WHIP || item.sub_type == WPN_DEMON_TRIDENT - || item.sub_type == WPN_BLESSED_BLADE) + || is_blessed(item)) { return; } @@ -1740,6 +1740,9 @@ bool normal2good( item_def &item, bool allow_blessed ) break; } + if (is_blessed(item)) + item.flags &= ~ISFLAG_RACIAL_MASK; + return (true); } // end normal2good() |