summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-10 17:55:41 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-10 17:55:41 +0000
commit88f7778a5f2236d69075b9b428fec91089e9e1ab (patch)
treea0711f96fc14d5866d1a8582dca10110d7ba79b3
parent9d879dbda0fd96b079aac0905d83f7c289e97a36 (diff)
downloadcrawl-ref-88f7778a5f2236d69075b9b428fec91089e9e1ab.tar.gz
crawl-ref-88f7778a5f2236d69075b9b428fec91089e9e1ab.zip
Add more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4180 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/fight.cc2
-rw-r--r--crawl-ref/source/mon-data.h4
-rw-r--r--crawl-ref/source/monstuff.cc4
3 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 84b6db765c..7be66cee90 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -2303,7 +2303,7 @@ bool melee_attack::chop_hydra_head( int dam,
coord_def pos = defender->pos();
bleed_onto_floor(pos.x, pos.y, defender->id(),
def->hit_points, true);
-
+
defender->hurt(attacker, def->hit_points);
}
else
diff --git a/crawl-ref/source/mon-data.h b/crawl-ref/source/mon-data.h
index bef84fe431..a4d9b9183e 100644
--- a/crawl-ref/source/mon-data.h
+++ b/crawl-ref/source/mon-data.h
@@ -118,7 +118,7 @@
MONUSE_STARTING_EQUIPMENT,
MONUSE_WEAPONS_ARMOUR,
MONUSE_MAGIC_ITEMS
-
+
size:
SIZE_TINY, // rat/bat
SIZE_LITTLE, // spriggan
@@ -144,7 +144,7 @@
0, 10, MONS_PROGRAM_BUG, MONS_PROGRAM_BUG, MH_NATURAL, -3,
{ AT_NO_ATK, AT_NO_ATK, AT_NO_ATK, AT_NO_ATK },
{ 0, 0, 0, 0 },
- 0, 0, MST_NO_SPELLS, CE_CONTAMINATED, Z_NOZOMBIE, S_SILENT, I_PLANT,
+ 0, 0, MST_NO_SPELLS, CE_CONTAMINATED, Z_NOZOMBIE, S_SILENT, I_PLANT,
HT_LAND, 0, DEFAULT_ENERGY, MONUSE_NOTHING, SIZE_HUGE
},
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index a7bda40734..0cb9f1deb7 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -5169,9 +5169,9 @@ static bool _handle_pickup(monsters *monster)
if (eaten_net)
simple_monster_message(monster, " devours the net!");
- if (mons_class_flag( monster->type, M_SPLITS ))
+ if (mons_class_flag( monster->type, M_SPLITS ))
{
- const int reqd = (monster->hit_dice <= 6)
+ const int reqd = (monster->hit_dice <= 6)
? 50 : monster->hit_dice * 8;
if (monster->hit_points >= reqd)