diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-28 16:32:54 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-28 16:32:54 +0000 |
commit | 36d43983b6cc312fefe3a2e67db91f5235084155 (patch) | |
tree | 025209ea077c51b64dbbfc842db62ce5ed168e29 /crawl-ref/source/fight.cc | |
parent | baf36321bb2a9957984012e6101e9bfc41457d4f (diff) | |
download | crawl-ref-36d43983b6cc312fefe3a2e67db91f5235084155.tar.gz crawl-ref-36d43983b6cc312fefe3a2e67db91f5235084155.zip |
Fix 2073715: stave type not IDing from combat.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6866 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 1 |
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(); |