diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-09 10:13:51 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-09 10:13:51 +0000 |
commit | cd08ab62d681ee480339a2f26d833bf9d4104dda (patch) | |
tree | 0ea72e62d6fa7f5d30c0b827150821d79946971f /crawl-ref/source/externs.h | |
parent | ff184229db597309592f1efc2ff089fa1b79418a (diff) | |
download | crawl-ref-cd08ab62d681ee480339a2f26d833bf9d4104dda.tar.gz crawl-ref-cd08ab62d681ee480339a2f26d833bf9d4104dda.zip |
Decouple zap_type from wand_type prepatory to a big beam() rewrite.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7200 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 420e5d2fef..c479855a49 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -462,10 +462,8 @@ public: unsigned long ignore_flags = 0x0) const; bool has_spells() const; bool cursed() const; - int book_number() const; - int zap() const; // what kind of beam it shoots (if wand). - // XXX should really return zap_type! - + int book_number() const; + zap_type zap() const; // what kind of beam it shoots (if wand). // Returns index in mitm array. Results are undefined if this item is // not in the array! |