summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.h
diff options
context:
space:
mode:
authorelliptic <hyperelliptical@gmail.com>2013-01-20 21:45:51 -0500
committerelliptic <hyperelliptical@gmail.com>2013-01-20 21:48:36 -0500
commit3ef23371e3369c4876edfe73511c907efa0b8a72 (patch)
treec1d4c8e49af1042ee5558be2b7c5d329e644d1b3 /crawl-ref/source/spl-book.h
parentb4b189bfd0645a11f2c25c6fb702732516f5bb33 (diff)
downloadcrawl-ref-3ef23371e3369c4876edfe73511c907efa0b8a72.tar.gz
crawl-ref-3ef23371e3369c4876edfe73511c907efa0b8a72.zip
Switch Vehumet-gifted spells to use the memorization interface (elliott).
Also, now there is no time limit on memorizing the offered spells, though they will be overwritten by new offers.
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r--crawl-ref/source/spl-book.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h
index 664dad328b..46ac6a7a2b 100644
--- a/crawl-ref/source/spl-book.h
+++ b/crawl-ref/source/spl-book.h
@@ -33,7 +33,7 @@ int read_book(item_def &item, read_book_action_type action);
bool player_can_memorise(const item_def &book);
bool can_learn_spell(bool silent = false);
bool learn_spell();
-bool learn_spell(spell_type spell, int book = NUM_BOOKS);
+bool learn_spell(spell_type spell);
bool forget_spell_from_book(spell_type spell, const item_def* book);
string desc_cannot_memorise_reason(bool undead);