summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-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)