diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-27 17:35:16 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-27 17:35:16 +0000 |
commit | b3ba50a0dfcba435c3936f5e826329f0067709c5 (patch) | |
tree | 818bfabeba26a51b544fb876983ccfc9f49eb1b7 /crawl-ref/source/spl-book.h | |
parent | d5bfb1f6cd095fabfa266b0c940e4ac132ee62b0 (diff) | |
download | crawl-ref-b3ba50a0dfcba435c3936f5e826329f0067709c5.tar.gz crawl-ref-b3ba50a0dfcba435c3936f5e826329f0067709c5.zip |
Various cleanups and goto elimination.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1667 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r-- | crawl-ref/source/spl-book.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index a118b0b370..b3b213c461 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -32,7 +32,7 @@ bool is_valid_spell_in_book( int splbook, int spell ); /* *********************************************************************** * called from: it_use3 - item_use - spl-book * *********************************************************************** */ -unsigned char read_book( item_def &item, int action ); +unsigned char read_book( item_def &item, read_book_action_type action ); // updated 24may2000 {dlb} @@ -48,7 +48,7 @@ int staff_spell( int zap_device_2 ); bool undead_cannot_memorise(spell_type spell, char being); -int spellbook_contents( item_def &book, int action, +int spellbook_contents( item_def &book, read_book_action_type action, formatted_string *fs = NULL ); int count_staff_spells(const item_def &item, bool need_id); |