diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 12:43:05 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 12:43:05 +0000 |
commit | a91a15035edd90fcaa608b88fd84908fb226fa7d (patch) | |
tree | cbf9a1edf5cc6681612a6627186a641659b07917 /crawl-ref/source/spells2.cc | |
parent | 1920d2cbdf601f8930d99e3ffc8e3d8c9e7c54c5 (diff) | |
download | crawl-ref-a91a15035edd90fcaa608b88fd84908fb226fa7d.tar.gz crawl-ref-a91a15035edd90fcaa608b88fd84908fb226fa7d.zip |
Backport r10397 to 0.5: conjure flame/blink fix, packaging with tar.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10398 c06c8d41-db1a-0410-9941-cceddc491573
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 9df7dca1ca..20ef704622 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1695,7 +1695,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; |