diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-22 20:12:04 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-22 20:12:04 +0000 |
commit | 99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc (patch) | |
tree | df9ae0845d78719ec8c1fd2033ae1224a80ed3f3 /crawl-ref/source/item_use.cc | |
parent | d6cdd1b6e2bd4bcd51221ef3113a10bde13867ba (diff) | |
download | crawl-ref-99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc.tar.gz crawl-ref-99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc.zip |
Fix ?immolation not being autoID'd upon reading.
Fix ?uselessness not using the misc. descriptions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6051 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index cf405cae35..e462ffb936 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -4343,6 +4343,7 @@ void read_scroll( int slot ) case SCR_IMMOLATION: mpr("The scroll explodes in your hands!"); // We do this here to prevent it from blowing itself up. + set_ident_type( scroll, ID_KNOWN_TYPE ); dec_inv_item_quantity( item_slot, 1 ); // unsure about this // BEAM_EXPLOSION instead? {dlb} @@ -4534,8 +4535,8 @@ void read_scroll( int slot ) set_ident_type( scroll, (id_the_scroll) ? ID_KNOWN_TYPE : ID_TRIED_TYPE ); - // finally, destroy and identify the scroll - // scrolls of immolation were already destroyed earlier + // Finally, destroy and identify the scroll. + // Scrolls of immolation were already destroyed earlier. if (which_scroll != SCR_PAPER && which_scroll != SCR_IMMOLATION) { if (id_the_scroll) |