diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-30 19:06:26 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-30 19:06:26 +0000 |
commit | 5680f596aa91070a0a580947e7115f01bbf130fd (patch) | |
tree | f1d3d969d2c08d57d164b6b83b11c42c5c67178f /crawl-ref/source | |
parent | 94a5e7d262a915b255dd4103b21d4744a17b655f (diff) | |
download | crawl-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')
-rw-r--r-- | crawl-ref/source/spells2.cc | 8 | ||||
-rw-r--r-- | crawl-ref/source/spells2.h | 2 |
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; |