diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-24 07:29:40 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-24 07:29:40 +0000 |
commit | 7b6e06e7dfb876a56c99e2216a6071e0a652caf9 (patch) | |
tree | 6126035ebe8c10f89ec930992bfa2e0e99c7dc17 /crawl-ref/source/spl-book.cc | |
parent | a9c18d8a40084b269f6173ba68283c3a2feaff48 (diff) | |
download | crawl-ref-7b6e06e7dfb876a56c99e2216a6071e0a652caf9.tar.gz crawl-ref-7b6e06e7dfb876a56c99e2216a6071e0a652caf9.zip |
Apply r6627, r6635, r6638 and r6645 (among others) to 0.4.
Fixes Selective Amnesia crash, claws/ankus in the weapon option, randart
bardings pretending to be boots and smaller stuff.
Includes indication of monsters seeing/sensing invisible.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6665 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 0ab544910f..2a1b9bf5a3 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -1244,7 +1244,7 @@ bool learn_spell(int book) } // You can always memorise selective amnesia: - if (you.spell_no == 21 && specspell != SPELL_SELECTIVE_AMNESIA) + if (you.spell_no >= 21 && specspell != SPELL_SELECTIVE_AMNESIA) { mpr("Your head is already too full of spells!"); return (false); |