From 88f7778a5f2236d69075b9b428fec91089e9e1ab Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 10 Apr 2008 17:55:41 +0000 Subject: Add more whitespace fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4180 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 2 +- crawl-ref/source/mon-data.h | 4 ++-- crawl-ref/source/monstuff.cc | 4 ++-- 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) -- cgit v1.2.3-54-g00ecf