From d0f739d802e77186463731df1d6736db7daf983e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 12 Jan 2008 21:10:29 +0000 Subject: 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 --- crawl-ref/source/spl-book.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spl-book.h') 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); -- cgit v1.2.3-54-g00ecf