diff options
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 6685bea91b..cef3e363ba 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -158,7 +158,7 @@ bool can_wield(item_def *weapon, bool say_reason, { mpr("This weapon is holy and will not allow you to wield it."); // If it's a standard weapon, you know its ego now. - if (!is_artefact(*weapon) && !is_blessed_blade(*weapon) + if (!is_artefact(*weapon) && !is_blessed(*weapon) && !item_type_known(*weapon)) { set_ident_flags(*weapon, ISFLAG_KNOW_TYPE); @@ -177,7 +177,7 @@ bool can_wield(item_def *weapon, bool say_reason, { mpr("You're too hungry to wield that."); // If it's a standard weapon, you know its ego now. - if (!is_artefact(*weapon) && !is_blessed_blade(*weapon) + if (!is_artefact(*weapon) && !is_blessed(*weapon) && !item_type_known(*weapon)) { set_ident_flags(*weapon, ISFLAG_KNOW_TYPE); |