From 94530c7cbe5031fa9e512a0f9ae41dac41821559 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 14 Sep 2009 20:23:08 +0000 Subject: Jump from the memorisation display back to spells if you cannot memorise any further spells. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10677 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 b73b890baf..e8373e4e49 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -64,7 +64,8 @@ int staff_spell( int zap_device_2 ); bool is_memorised(spell_type spell); bool you_cannot_memorise(spell_type spell); -bool has_spells_to_memorise(bool silent = true); +bool has_spells_to_memorise(bool silent = true, + int current_spell = SPELL_NO_SPELL); std::vector get_mem_spell_list(std::vector &books); int spellbook_contents( item_def &book, read_book_action_type action, -- cgit v1.2.3-54-g00ecf