diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-07 13:36:06 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-07 13:36:06 +0000 |
commit | dfa4b1e2e5e933189d93b170f5ef05c7e89f2709 (patch) | |
tree | 9458d6f3f56d8d5ddebdcdae16b881a4b5520ce9 | |
parent | 2e1f0a4f6910ac4a05ea11a028992997c0af7731 (diff) | |
download | crawl-ref-dfa4b1e2e5e933189d93b170f5ef05c7e89f2709.tar.gz crawl-ref-dfa4b1e2e5e933189d93b170f5ef05c7e89f2709.zip |
Clear dropped flag for chunks and report rod id for 0.3.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2356 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/misc.cc | 1 | ||||
-rw-r--r-- | crawl-ref/source/spl-book.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index 2ad28054b3..152462a1a7 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -85,6 +85,7 @@ void turn_corpse_into_chunks( item_def &item ) item.base_type = OBJ_FOOD; item.sub_type = FOOD_CHUNK; item.quantity = 1 + random2( max_chunks ); + item.flags &= ~(ISFLAG_THROWN | ISFLAG_DROPPED); item.quantity = stepdown_value( item.quantity, 4, 4, 12, 12 ); diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index c293d091d4..99fcc53130 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -1406,6 +1406,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; } |