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/spl-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spl-util.h') diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 4c33f33e82..6d0d66d980 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -109,7 +109,7 @@ void apply_area_cloud(cloud_func func, const coord_def& where, bool spell_direction( dist &spelld, bolt &pbolt, targetting_type restrict = DIR_NONE, - targ_mode_type mode = TARG_ENEMY, + targ_mode_type mode = TARG_HOSTILE, // pbolt.range if applicable, otherwise LOS_RADIUS int range = 0, bool needs_path = true, bool may_target_monster = true, -- cgit v1.2.3-54-g00ecf