summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-06-17 17:56:32 -0400
committerNeil Moore <neil@s-z.org>2013-06-17 18:24:57 -0400
commit99e16b97dacaa9b6d7560f38af869fd27e1327e8 (patch)
tree25e31d869440430cc47801148ac5262c551e9e4e /crawl-ref/source/spl-book.h
parentf8f256a78b566956e6f4153a4dff7636268a5851 (diff)
downloadcrawl-ref-99e16b97dacaa9b6d7560f38af869fd27e1327e8.tar.gz
crawl-ref-99e16b97dacaa9b6d7560f38af869fd27e1327e8.zip
Don't blame racial spell prohibitions on lich/wisp form.
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r--crawl-ref/source/spl-book.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h
index 2b7fd2eebf..7848b6e2d3 100644
--- a/crawl-ref/source/spl-book.h
+++ b/crawl-ref/source/spl-book.h
@@ -37,7 +37,7 @@ bool learn_spell();
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);
+string desc_cannot_memorise_reason(bool form);
bool player_can_memorise_from_spellbook(const item_def &book);
spell_type which_spell_in_book(const item_def &book, int spl);
@@ -48,7 +48,7 @@ int rod_spell(int zap_device_2);
bool is_memorised(spell_type spell);
bool you_cannot_memorise(spell_type spell);
-bool you_cannot_memorise(spell_type spell, bool &undead);
+bool you_cannot_memorise(spell_type spell, bool &form);
bool has_spells_to_memorise(bool silent = true,
int current_spell = SPELL_NO_SPELL);
vector<spell_type> get_mem_spell_list(vector<int> &books);