From cd08ab62d681ee480339a2f26d833bf9d4104dda Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 9 Oct 2008 10:13:51 +0000 Subject: 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 --- crawl-ref/source/externs.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/externs.h') 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! -- cgit v1.2.3-54-g00ecf