summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-09-30 13:38:36 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-10-02 22:41:42 +0200
commitaf57ca8aa896601a85284d97d27b74f034bceb75 (patch)
tree4cc08a089c7e116e983f3dad02dfdd7c73d17e24 /crawl-ref/source/spl-util.h
parent5384d5792578739f525e7e1e5a44bbd739b136c6 (diff)
downloadcrawl-ref-af57ca8aa896601a85284d97d27b74f034bceb75.tar.gz
crawl-ref-af57ca8aa896601a85284d97d27b74f034bceb75.zip
Forget spell from book
Add a (F)orget this spell line when reading the spell description of a known spell, from a book. Forgetting the spell destroys the book.
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r--crawl-ref/source/spl-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h
index 6e53562cd6..63b8f4e446 100644
--- a/crawl-ref/source/spl-util.h
+++ b/crawl-ref/source/spl-util.h
@@ -59,6 +59,7 @@ spell_type get_spell_by_letter( char letter );
bool add_spell_to_memory( spell_type spell );
bool del_spell_from_memory_by_slot( int slot );
+bool del_spell_from_memory( spell_type spell );
int spell_hunger(spell_type which_spell, bool rod = false);
int spell_mana(spell_type which_spell);