From a40073ac317d8fffd4d456c9ead4649646ce1803 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 9 Jan 2009 00:39:11 +0000 Subject: Add more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8344 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index ed48ac70e3..2206db8c81 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -2552,16 +2552,18 @@ static void _find_remains(monsters* mon, int &corpse_class, int &corpse_index, static bool _make_zombie(monsters* mon, int corpse_class, int corpse_index, item_def &fake_corpse, int last_item) { - // If the monster dropped a corpse then don't waste it by turning + // If the monster dropped a corpse, then don't waste it by turning // it into a zombie. if (corpse_index != NON_ITEM || !mons_class_can_be_zombified(corpse_class)) return (false); - // Good gods won't let their gifts/followers be raised as the undead. + // Good gods won't let their gifts/followers be raised as the + // undead. if (is_good_god(mon->god)) return (false); - // First attempt to raise zombie fitted out with all its old equipment. + // First attempt to raise zombie fitted out with all its old + // equipment. int zombie_index = -1; int idx = get_item_slot(0); if (idx != NON_ITEM && last_item != NON_ITEM) @@ -2569,8 +2571,8 @@ static bool _make_zombie(monsters* mon, int corpse_class, int corpse_index, mitm[idx] = fake_corpse; mitm[idx].pos = mon->pos(); - // Insert it in the item stack right after the monster's last item, so - // it will be equipped with all the monster's items. + // Insert it in the item stack right after the monster's last + // item, so it will be equipped with all the monster's items. mitm[idx].link = mitm[last_item].link; mitm[last_item].link = idx; @@ -2582,7 +2584,7 @@ static bool _make_zombie(monsters* mon, int corpse_class, int corpse_index, if (zombie_index == -1) { monster_type type = (mons_zombie_size(mon->type) == Z_SMALL) ? - MONS_ZOMBIE_SMALL : MONS_ZOMBIE_LARGE; + MONS_ZOMBIE_SMALL : MONS_ZOMBIE_LARGE; zombie_index = create_monster( mgen_data(type, mon->behaviour, 0, 0, mon->pos(), mon->foe, MG_FORCE_PLACE, mon->god, -- cgit v1.2.3-54-g00ecf