From c2c25b5eaa191b0d26aee47359949093367154b9 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Tue, 6 Oct 2009 22:27:07 -0400 Subject: Implement FR 2872334 'don't auto-target neutrals' by replacing most uses of TARG_ENEMY with TARG_HOSTILE. --- crawl-ref/source/spells2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells2.cc') diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index bb4402e9e8..83e14e2816 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1884,7 +1884,7 @@ bool sunlight() bolt temp_bolt; temp_bolt.colour = YELLOW; - direction(spelld, DIR_TARGET, TARG_ENEMY, LOS_RADIUS, false, false, + direction(spelld, DIR_TARGET, TARG_HOSTILE, LOS_RADIUS, false, false, false, true, "Select sunlight destination", NULL, true); -- cgit v1.2.3-54-g00ecf