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 1a875dee08..9441008998 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -1692,7 +1692,7 @@ bool cast_conjure_ball_lightning(int pow, god_type god)
bool found = false;
for (int j = 0; j < 10; ++j)
{
- if (random_near_space(you.pos(), target, true, true)
+ if (random_near_space(you.pos(), target, true, true, false)
&& distance(you.pos(), target) <= 5)
{
found = true;