summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/spells2.cc8
-rw-r--r--crawl-ref/source/spells2.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index ffc771c4d6..6f22a8fa27 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -222,16 +222,16 @@ int detect_creatures( int pow, bool telepathic )
return (creatures_found);
}
-int corpse_rot(int power)
+int corpse_rot(int pow)
{
- UNUSED( power );
+ UNUSED(pow);
for (radius_iterator ri(you.pos(), 6); ri; ++ri)
{
if (see_grid_no_trans(*ri) && !is_sanctuary(*ri)
&& env.cgrid(*ri) == EMPTY_CLOUD)
{
- for ( stack_iterator si(*ri); si; ++si )
+ for (stack_iterator si(*ri); si; ++si)
{
if (si->base_type == OBJ_CORPSES && si->sub_type == CORPSE_BODY)
{
@@ -255,7 +255,7 @@ int corpse_rot(int power)
// Should make zombies decay into skeletons?
- return 0;
+ return (0);
}
bool brand_weapon(brand_type which_brand, int power)
diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h
index 34cd7a4271..74c49984e8 100644
--- a/crawl-ref/source/spells2.h
+++ b/crawl-ref/source/spells2.h
@@ -32,7 +32,7 @@ bool burn_freeze(int pow, beam_type flavour, int targetmon);
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
-int corpse_rot(int power);
+int corpse_rot(int pow);
struct dist;