diff options
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 5d09f770e0..28f3b2c1c7 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -1332,6 +1332,12 @@ bool player_can_memorise(const item_def &book) bool learn_spell(int book) { + if (player_in_bat_form()) + { + canned_msg(MSG_PRESENT_FORM); + return (false); + } + int chance = 0; int levels_needed = 0; int index; |