summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-30 19:06:26 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-30 19:06:26 +0000
commit5680f596aa91070a0a580947e7115f01bbf130fd (patch)
treef1d3d969d2c08d57d164b6b83b11c42c5c67178f /crawl-ref/source/spells2.cc
parent94a5e7d262a915b255dd4103b21d4744a17b655f (diff)
downloadcrawl-ref-5680f596aa91070a0a580947e7115f01bbf130fd.tar.gz
crawl-ref-5680f596aa91070a0a580947e7115f01bbf130fd.zip
Add still more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7311 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc8
1 files changed, 4 insertions, 4 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)