summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-12 21:10:29 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-12 21:10:29 +0000
commitd0f739d802e77186463731df1d6736db7daf983e (patch)
treeb773d5a652297c57c22114dbd18faaac3473c0b8 /crawl-ref/source/spl-book.h
parent7e10afcafb398a0a9eeb39560facba3ec242d5dd (diff)
downloadcrawl-ref-d0f739d802e77186463731df1d6736db7daf983e.tar.gz
crawl-ref-d0f739d802e77186463731df1d6736db7daf983e.zip
Tile changes. *waves to Enne*
Fix assertion error when unwielding items. FR 1838216: Make R-click on map *really* show grid information. FR 1838219: Add more diverse action verbs for items in inventory ("eat", "unwield" etc. rather than plain "use") and allow memorizing by L-clicking on books. Bug 1858432: Show 0 charge icon for empty but unID'd wands. Also: Don't regard enslavement on friendlies as attack attempt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3264 c06c8d41-db1a-0410-9941-cceddc491573
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 7e6fe1cdf8..d67023eaeb 100644
--- a/crawl-ref/source/spl-book.h
+++ b/crawl-ref/source/spl-book.h
@@ -49,7 +49,7 @@ int read_book( item_def &item, read_book_action_type action );
* called from: acr
* *********************************************************************** */
bool player_can_memorise(const item_def &book);
-bool learn_spell(void);
+bool learn_spell(int book = -1);
spell_type which_spell_in_book(int sbook_type, int spl);