summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-19 19:59:41 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-19 19:59:41 +0000
commitf77e806dbb99a1e775f57bac2129c94288a6c02b (patch)
tree4b6e2d520820a3a45200a0f50ba0cd51d0af0884
parente46d957ebc81df512716a9ad2b10d0d431eedc55 (diff)
downloadcrawl-ref-f77e806dbb99a1e775f57bac2129c94288a6c02b.tar.gz
crawl-ref-f77e806dbb99a1e775f57bac2129c94288a6c02b.zip
Add spacing fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7287 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/effects.cc6
-rw-r--r--crawl-ref/source/misc.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 250ebe19bf..9a9026ffee 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2291,7 +2291,7 @@ static void _rot_inventory_food(long time_delta)
if (you.inv[i].sub_type == CORPSE_SKELETON)
continue;
- if (!mons_skeleton( you.inv[i].plus ))
+ if (!mons_skeleton(you.inv[i].plus))
{
if (you.equip[EQ_WEAPON] == i)
unwield_item();
@@ -2311,9 +2311,9 @@ static void _rot_inventory_food(long time_delta)
you.inv[i].special -= (time_delta / 20);
if (food_is_rotten(you.inv[i])
- && (you.inv[i].special + (time_delta / 20) >= 100 ))
+ && (you.inv[i].special + (time_delta / 20) >= 100))
{
- rotten_items.push_back(index_to_letter( i ));
+ rotten_items.push_back(index_to_letter(i));
}
}
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index b411f205c7..2bd6b519e4 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -140,7 +140,7 @@ void turn_corpse_into_skeleton(item_def &corpse, int time)
ASSERT(corpse.base_type == OBJ_CORPSES && corpse.sub_type == CORPSE_BODY);
// Some monsters' corpses lack the structure to leave skeletons behind.
- if (!mons_skeleton( corpse.plus ))
+ if (!mons_skeleton(corpse.plus))
return;
// While it is possible to distinguish draconian corpses by colour, their