summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index ba2d50f12b..f0ce3aaaa4 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -2634,6 +2634,7 @@ void melee_attack::player_apply_staff_damage()
if (!item_type_known(*weapon))
{
set_ident_flags( *weapon, ISFLAG_KNOW_TYPE );
+ set_ident_type( *weapon, ID_KNOWN_TYPE );
mprf("You are wielding %s.", weapon->name(DESC_NOCAP_A).c_str());
more();