diff options
author | Charles Otto <ottochar@gmail.com> | 2009-10-06 22:27:07 -0400 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-10-06 22:31:25 -0400 |
commit | c2c25b5eaa191b0d26aee47359949093367154b9 (patch) | |
tree | 6ac6a73ff6053f17fce2e66e8e441978c2729d36 /crawl-ref/source/spells2.cc | |
parent | 0e2154d50e2de944bb1495b6ad4a62112ee97f03 (diff) | |
download | crawl-ref-c2c25b5eaa191b0d26aee47359949093367154b9.tar.gz crawl-ref-c2c25b5eaa191b0d26aee47359949093367154b9.zip |
Implement FR 2872334 'don't auto-target neutrals' by replacing most uses of TARG_ENEMY with TARG_HOSTILE.
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |