From bc63643a6c8bdc583694356f559f09b356d2c1c6 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 9 Jul 2007 12:38:44 +0000 Subject: Minor refactoring. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1817 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-book.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/spl-book.h') diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index b3b213c461..edcb8a89f9 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -28,11 +28,12 @@ int book_rarity(unsigned char which_book); bool is_valid_spell_in_book( int splbook, int spell ); +void mark_had_book(int booktype); // updated 24may2000 {dlb} /* *********************************************************************** * called from: it_use3 - item_use - spl-book * *********************************************************************** */ -unsigned char read_book( item_def &item, read_book_action_type action ); +int read_book( item_def &item, read_book_action_type action ); // updated 24may2000 {dlb} -- cgit v1.2.3-54-g00ecf