diff options
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 3d848bd82d..645b3d4edf 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -2302,7 +2302,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); |