diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-19 14:08:58 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-19 14:08:58 +0000 |
commit | 9cce2935d8da7147bebe3d4aeb4a4283b779f798 (patch) | |
tree | f3064a5c4daf169919d8e4b0335abfbd76bd05a0 /crawl-ref/source/spl-book.cc | |
parent | 6a93b55183ada2559d026ae0dd57a295ae1807f4 (diff) | |
download | crawl-ref-9cce2935d8da7147bebe3d4aeb4a4283b779f798.tar.gz crawl-ref-9cce2935d8da7147bebe3d4aeb4a4283b779f798.zip |
A number of tutorial improvements, including reintroducing info on spellbooks.
Also:
Fix 1832819. (Horn mutation not making helmet slot show as "restricted")
Fix 1831983. (Autobutcher now ignores weapons inscribed with !w)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2872 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 cff961168c..33206f31c5 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -1141,7 +1141,7 @@ bool undead_cannot_memorise(spell_type spell, char being) return false; } // end undead_cannot_memorise() -bool player_can_memorise(item_def &book) +bool player_can_memorise(const item_def &book) { if (book.base_type != OBJ_BOOKS || book.sub_type == BOOK_MANUAL) return false; |