summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-03-28 18:11:26 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-03-28 18:13:37 -0600
commit4e207c1efce88053570f51ae910f9d0f795898b7 (patch)
treeca01ca51f9bcf4a4f527544603ad8d6b7854aec1 /crawl-ref/source/spl-util.cc
parent07d0f3200ecaeb2c2abc392b16d34dfc72962ac3 (diff)
downloadcrawl-ref-4e207c1efce88053570f51ae910f9d0f795898b7.tar.gz
crawl-ref-4e207c1efce88053570f51ae910f9d0f795898b7.zip
Fix Glaciate's range at 7; don't let Vehumet extend this.
By popular dev demand. I'm leaving the code for handling varying ranges alone in the event that we need to revisit this.
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r--crawl-ref/source/spl-util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc
index b59fc1f4d3..7ae20a3e4c 100644
--- a/crawl-ref/source/spl-util.cc
+++ b/crawl-ref/source/spl-util.cc
@@ -948,6 +948,7 @@ int spell_range(spell_type spell, int pow, bool player_spell)
&& spell != SPELL_STICKY_FLAME
&& spell != SPELL_FREEZE
&& spell != SPELL_DISCHARGE
+ && spell != SPELL_GLACIATE
&& !player_under_penance()
&& you.piety >= piety_breakpoint(3))
{