diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-06-22 05:11:29 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-06-22 05:11:29 +0200 |
commit | 81fc2edf2e53296c87dffd49865d99f81620ce43 (patch) | |
tree | 68bc942da6cd602a0a312677b0f34658f7b82897 /crawl-ref/source/spl-clouds.cc | |
parent | 00e6c84ba6fe603d5f8d49aa7bd405543f3a11e6 (diff) | |
download | crawl-ref-81fc2edf2e53296c87dffd49865d99f81620ce43.tar.gz crawl-ref-81fc2edf2e53296c87dffd49865d99f81620ce43.zip |
Remove an unused and misleading argument.
Diffstat (limited to 'crawl-ref/source/spl-clouds.cc')
-rw-r--r-- | crawl-ref/source/spl-clouds.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-clouds.cc b/crawl-ref/source/spl-clouds.cc index 448bfc3152..c9d24eea05 100644 --- a/crawl-ref/source/spl-clouds.cc +++ b/crawl-ref/source/spl-clouds.cc @@ -49,7 +49,7 @@ spret_type conjure_flame(int pow, const coord_def& where, bool fail) { // FIXME: This would be better handled by a flag to enforce max range. if (distance(where, you.pos()) > dist_range(spell_range(SPELL_CONJURE_FLAME, - pow, true)) + pow)) || !in_bounds(where)) { mpr("That's too far away."); |