From 6a8fd2eaff54894b85f71ba5580de967c8037e74 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 24 Nov 2009 23:01:23 +0100 Subject: Add new targetting flag SPFLAG_TARG_OBJ for object targetting. Also make apportation use this. Apportation now doesn't target out-of-sight objects anymore. --- crawl-ref/source/spl-data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spl-data.h') diff --git a/crawl-ref/source/spl-data.h b/crawl-ref/source/spl-data.h index 279c4e980f..d775c75b3f 100644 --- a/crawl-ref/source/spl-data.h +++ b/crawl-ref/source/spl-data.h @@ -62,9 +62,9 @@ }, { - SPELL_APPORTATION, "Apportation", + SPELL_APPORTATION, "Apportation", SPTYP_TRANSLOCATION, - SPFLAG_GRID | SPFLAG_NOT_SELF, + SPFLAG_TARG_OBJ | SPFLAG_NOT_SELF, 1, 1000, LOS_RADIUS, LOS_RADIUS, -- cgit v1.2.3-54-g00ecf