summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2010-01-17 22:18:47 -0500
committerCharles Otto <ottochar@gmail.com>2010-01-17 22:18:47 -0500
commit856be18105f4eb6e0639cef9475a322ad7832d27 (patch)
treee7ea93c7134ea1e30e5c8bac67be127747522445 /crawl-ref
parent227420e531ae481224410978e01c834507cc61d2 (diff)
downloadcrawl-ref-856be18105f4eb6e0639cef9475a322ad7832d27.tar.gz
crawl-ref-856be18105f4eb6e0639cef9475a322ad7832d27.zip
Let players cast sunlight on themselves
Let players target themselves with sunlight (but give a prompt).
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/godabil.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc
index fc4e9712dc..98537af232 100644
--- a/crawl-ref/source/godabil.cc
+++ b/crawl-ref/source/godabil.cc
@@ -552,11 +552,9 @@ bool sunlight()
dist spelld;
bolt temp_bolt;
-
temp_bolt.colour = YELLOW;
direction(spelld, DIR_TARGET, TARG_HOSTILE, LOS_RADIUS, false, false,
- false, true, "Select sunlight destination", NULL,
- true);
+ false, false, "Select sunlight destination");
if (!spelld.isValid)
return (false);