summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-04 22:16:09 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-04 22:16:09 +0000
commita6607672ebf7688fa06f3e1a1b24959c72a2e905 (patch)
tree5bf934b9b13e7b257b0624ed160ea9aae84e0022 /crawl-ref/source/spl-cast.cc
parent54374f6bcc0dd6e456823fc74e31a1b63a49d86e (diff)
downloadcrawl-ref-a6607672ebf7688fa06f3e1a1b24959c72a2e905.tar.gz
crawl-ref-a6607672ebf7688fa06f3e1a1b24959c72a2e905.zip
Apply my previous commit to 0.5.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10097 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 48b22f577a..735c1d58fc 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -2317,7 +2317,7 @@ static int _power_to_barcount( int power )
int spell_power_bars( spell_type spell )
{
const int cap = spell_power_cap(spell);
- if ( cap == 0 )
+ if (cap == 0)
return -1;
const int power = std::min(calc_spell_power(spell, true), cap);
return _power_to_barcount(power);