diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-24 10:09:30 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-24 10:09:30 +0000 |
commit | 33b1249af4f983197d5af346199c5d0a4061835a (patch) | |
tree | b13008f8ff07c59fca8fcba723907b9998263f22 /crawl-ref/source/spl-cast.cc | |
parent | cad9c185b4714e69e47cf62275cc02146f76c4a5 (diff) | |
download | crawl-ref-33b1249af4f983197d5af346199c5d0a4061835a.tar.gz crawl-ref-33b1249af4f983197d5af346199c5d0a4061835a.zip |
Recognize each type of staff once one of its type has been identified; was
only working for rods.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6111 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index fc8e5e032b..3a477828bc 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -806,6 +806,7 @@ bool maybe_identify_staff(item_def &item, spell_type spell) { item_def& wpn = you.inv[you.equip[EQ_WEAPON]]; // changed from ISFLAG_KNOW_TYPE + set_ident_type( wpn, ID_KNOWN_TYPE ); set_ident_flags( wpn, ISFLAG_IDENT_MASK); mprf("You are wielding %s.", wpn.name(DESC_NOCAP_A).c_str()); more(); |