summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-07 13:32:22 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-07 13:32:22 +0000
commitf5f3f0566070ae3f5ff1d6155025f847fb2dec03 (patch)
tree19d58c31a356ec07f9eccd8c0946b78a8102a476 /crawl-ref/source/spl-book.cc
parentf998c974e8d1b976da9ea0abb9beada6ac0f3b36 (diff)
downloadcrawl-ref-f5f3f0566070ae3f5ff1d6155025f847fb2dec03.tar.gz
crawl-ref-f5f3f0566070ae3f5ff1d6155025f847fb2dec03.zip
Clear dropped+thrown flags on corpse when converting it to chunks (V-Napkin). Also announce rod identification when it self-ids [1808821].
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2355 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r--crawl-ref/source/spl-book.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index 6cdb9e807f..70b194e551 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -1407,6 +1407,7 @@ int staff_spell( int staff )
if (!item_type_known(istaff))
{
set_ident_flags( istaff, ISFLAG_KNOW_TYPE );
+ mprf(MSGCH_EQUIPMENT, "%s", istaff.name(DESC_INVENTORY_EQUIP).c_str());
you.wield_change = true;
}