From 0e9f823830bc5395267bc0eb795d7b1877ae5681 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Thu, 28 May 2009 00:53:09 +0000 Subject: FR 2722830: make memorize spell work with redo-command (`). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9838 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-book.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 28f3b2c1c7..2df122862b 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -33,6 +33,7 @@ REVISION("$Rev$"); #include "items.h" #include "it_use3.h" #include "Kills.h" +#include "macro.h" #include "message.h" #include "player.h" #include "randart.h" @@ -898,7 +899,8 @@ int spellbook_contents( item_def &book, read_book_action_type action, out.display(); - keyn = c_getch(); + //keyn = c_getch(); + keyn = tolower(getchm(KMC_MENU)); } return (keyn); // try to figure out that for which this is used {dlb} -- cgit v1.2.3-54-g00ecf