diff options
author | Neil Moore <neil@s-z.org> | 2014-06-09 16:01:53 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-06-09 16:07:59 -0400 |
commit | 5b0dc80f637bb344ec847eaeb632018fefccddfb (patch) | |
tree | efd465c855ec8d111037c7ba5620dc7925fd1fdd /crawl-ref/source/spl-cast.h | |
parent | 2d75d1c3f87eaa9771e5d2ad391a8b88e27ebfa7 (diff) | |
download | crawl-ref-5b0dc80f637bb344ec847eaeb632018fefccddfb.tar.gz crawl-ref-5b0dc80f637bb344ec847eaeb632018fefccddfb.zip |
Don't cycle through corpses with Apportation (#8622)
But still allow x* to cycle through all object stacks. For now * and +
do the same thing when targetting apportation, but maybe it makes sense
to have * keep the old behaviour.
Note that SPFLAG_TARG_OBJ now uses the new DIR_MOVABLE_OBJECT
targeting_type. If we add a new object-targetting spell that *can*
affect corpses, we'll have to separate SPFLAG_TARG_OBJ into two flags.
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index 59a49894f4..f590ebef16 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -15,7 +15,8 @@ enum spflag_type SPFLAG_TARGET = 0x000002, // use DIR_TARGET targeting SPFLAG_GRID = 0x000004, // use DIR_GRID targeting SPFLAG_DIR = 0x000008, // use DIR_DIR targeting - SPFLAG_TARG_OBJ = 0x000010, // use DIR_TARGET_OBJECT targ. + // TODO: we need a new targetting flag if we want to target corpses too. + SPFLAG_TARG_OBJ = 0x000010, // use DIR_MOVABLE_OBJECT targ. SPFLAG_TARGETING_MASK = 0x00001f, // used to test for targeting SPFLAG_HELPFUL = 0x000020, // TARG_FRIENDS used SPFLAG_NEUTRAL = 0x000040, // TARG_ANY used |