summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2012-07-31 13:17:40 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2012-07-31 13:17:40 -0600
commit0372ebcc53c9a45a0cdfb5fd9d507fe776c75cbe (patch)
tree6cdfffc08a6383eaa5cfc5934ee0dde9de3c2a1f /crawl-ref/source/spl-cast.h
parentb8bec21a6ebd8a3f0a25c1981ff13ddc3c0c3553 (diff)
downloadcrawl-ref-0372ebcc53c9a45a0cdfb5fd9d507fe776c75cbe.tar.gz
crawl-ref-0372ebcc53c9a45a0cdfb5fd9d507fe776c75cbe.zip
Some cleanup of the new "no monster in range" checking code.
This fixes a bug related to non-beam spells such as Vampiric Draining wherein they would never show up as being in range, and removes a now-unused function argument.
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r--crawl-ref/source/spl-cast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h
index 35adf3d32d..dc6ef2d02a 100644
--- a/crawl-ref/source/spl-cast.h
+++ b/crawl-ref/source/spl-cast.h
@@ -55,7 +55,7 @@ enum spret_type
typedef bool (*spell_selector)(spell_type spell);
int list_spells(bool toggle_with_I = true, bool viewing = false,
- bool allow_preselect = true, int minRange = -1,
+ bool allow_preselect = true,
spell_selector selector = NULL);
int spell_fail(spell_type spell);
int calc_spell_power(spell_type spell, bool apply_intel,