diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-28 00:53:09 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-28 00:53:09 +0000 |
commit | 0e9f823830bc5395267bc0eb795d7b1877ae5681 (patch) | |
tree | 01e0bb79d0bec40d52cf50f0c099b31eb2335447 /crawl-ref/source/spl-book.cc | |
parent | da81aa1f63c426cd5d5fc04aa639aacaff0e5262 (diff) | |
download | crawl-ref-0e9f823830bc5395267bc0eb795d7b1877ae5681.tar.gz crawl-ref-0e9f823830bc5395267bc0eb795d7b1877ae5681.zip |
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
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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} |