diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-14 20:23:08 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-14 20:23:08 +0000 |
commit | 94530c7cbe5031fa9e512a0f9ae41dac41821559 (patch) | |
tree | f8948a643e7694290e1f152913a2d0d57dd38567 /crawl-ref/source/spl-book.h | |
parent | 33bfc8a3d44515f59a0f2ad840ac03fe55606bab (diff) | |
download | crawl-ref-94530c7cbe5031fa9e512a0f9ae41dac41821559.tar.gz crawl-ref-94530c7cbe5031fa9e512a0f9ae41dac41821559.zip |
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
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r-- | crawl-ref/source/spl-book.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<spell_type> get_mem_spell_list(std::vector<int> &books); int spellbook_contents( item_def &book, read_book_action_type action, |