From 19081dd2e2f1b6bff7596cb66beee90417e640ae Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 15 Jun 2008 08:59:49 +0000 Subject: Added SPFLAG_NEUTRAL for utility spells which should use TARG_ANY. Currently only used by Dig. We might want to redo Apportation to use this at some point. [1994284] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5841 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-cast.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/spl-cast.h') diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index c1fe93cc6e..036f99045f 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -25,9 +25,10 @@ enum spflag_type SPFLAG_DIR = 0x0008, // use DIR_DIR targeting SPFLAG_TARGETING_MASK = 0x000f, // used to test for targeting SPFLAG_HELPFUL = 0x0010, // TARG_FRIENDS used - SPFLAG_NOT_SELF = 0x0020, // aborts on isMe - SPFLAG_UNHOLY = 0x0040, // counts at "unholy" - SPFLAG_MAPPING = 0x0080 // a mapping spell of some kind + SPFLAG_NEUTRAL = 0x0020, // TARG_ANY used + SPFLAG_NOT_SELF = 0x0040, // aborts on isMe + SPFLAG_UNHOLY = 0x0080, // counts at "unholy" + SPFLAG_MAPPING = 0x0100 // a mapping spell of some kind }; enum spret_type -- cgit v1.2.3-54-g00ecf