diff options
author | elliptic <hyperelliptical@gmail.com> | 2013-01-18 14:09:36 -0500 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2013-01-18 14:09:36 -0500 |
commit | 64dcaf09aa0e019841c0920530b95fceee307c85 (patch) | |
tree | 8047e256002830b34fe6aa5bc69f4cb3e40e0712 /crawl-ref/source/spl-book.h | |
parent | d218f2733c6cb32d53539255a600950b35b52097 (diff) | |
download | crawl-ref-64dcaf09aa0e019841c0920530b95fceee307c85.tar.gz crawl-ref-64dcaf09aa0e019841c0920530b95fceee307c85.zip |
Add is_player_spell, use that in Veh gifting.
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r-- | crawl-ref/source/spl-book.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index ed39950d38..1f389608a3 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -22,6 +22,7 @@ enum read_book_action_type int book_rarity(uint8_t which_book); int spell_rarity(spell_type which_spell); void init_spell_rarities(); +bool is_player_spell(spell_type which_spell); bool is_valid_spell_in_book(const item_def &book, int spell); |