diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 12:36:43 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 12:36:43 +0000 |
commit | 552a18061460342af014e69c7cee26bb5bf358ef (patch) | |
tree | 6a715c1f8acde3dda56bf5c2e8cd7f4a3aee6c2c /crawl-ref/source/spells2.cc | |
parent | ebb6673550564e06b257690b5fa0100af8786838 (diff) | |
download | crawl-ref-552a18061460342af014e69c7cee26bb5bf358ef.tar.gz crawl-ref-552a18061460342af014e69c7cee26bb5bf358ef.zip |
* Add support for packaging save files with tar. (Patch by Trent W. Buck.)
* Fix random blink placing the player in dangerous clouds.
* Fix message when trying to place Conjure Flame in a wax wall.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10397 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 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; |