summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
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);