summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-30 14:05:40 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-30 14:05:40 -0500
commit9bf7b8a11fe8dab07b560cc6def6ffb52313e823 (patch)
treed6e82d3909a6413a3bf708edc03b33dad647e563 /crawl-ref/source/spl-util.cc
parentb2bd008c7bb1b47b189561411e625f3daf2c644d (diff)
downloadcrawl-ref-9bf7b8a11fe8dab07b560cc6def6ffb52313e823.tar.gz
crawl-ref-9bf7b8a11fe8dab07b560cc6def6ffb52313e823.zip
Clean up includes a bit.
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r--crawl-ref/source/spl-util.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc
index 9c4860de9b..0cb60d16af 100644
--- a/crawl-ref/source/spl-util.cc
+++ b/crawl-ref/source/spl-util.cc
@@ -31,13 +31,13 @@ REVISION("$Rev$");
#include "monstuff.h"
#include "notes.h"
#include "player.h"
+#include "religion.h"
#include "spells4.h"
#include "spl-book.h"
#include "spl-cast.h"
#include "spl-util.h"
#include "terrain.h"
#include "view.h"
-#include "religion.h"
#ifdef DOS
@@ -388,13 +388,13 @@ bool spell_sanctuary_castable(spell_type spell)
// for Xom acting (more power = more likely to grab his attention) {dlb}
int spell_mana(spell_type which_spell)
{
- if(vehumet_supports_spell(which_spell)
- && you.religion == GOD_VEHUMET
- && !player_under_penance()
- && you.piety >= piety_breakpoint(3)
- && _seekspell(which_spell)->level >= 5)
+ if (vehumet_supports_spell(which_spell)
+ && you.religion == GOD_VEHUMET
+ && !player_under_penance()
+ && you.piety >= piety_breakpoint(3)
+ && _seekspell(which_spell)->level >= 5)
{
- return _seekspell(which_spell)->level -1;
+ return (_seekspell(which_spell)->level - 1);
}
return (_seekspell(which_spell)->level);