summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 08:59:49 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 08:59:49 +0000
commit19081dd2e2f1b6bff7596cb66beee90417e640ae (patch)
tree8a6fd64c18df74df1be5143a95072b06bd04d59e /crawl-ref/source/spl-cast.h
parent3130143ebdde991a85b483a6561ed158a72fdf55 (diff)
downloadcrawl-ref-19081dd2e2f1b6bff7596cb66beee90417e640ae.tar.gz
crawl-ref-19081dd2e2f1b6bff7596cb66beee90417e640ae.zip
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
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r--crawl-ref/source/spl-cast.h7
1 files changed, 4 insertions, 3 deletions
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