From 42ffb2da16bb719f3aaacd3a82ba8d68905b3192 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 8 Jan 2009 03:15:52 +0000 Subject: Add more comment fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8319 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells3.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/spells3.cc') diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 3baaaa9999..1774d3f3d2 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -639,10 +639,11 @@ static bool _animatable_remains(const item_def& item) && mons_class_can_be_zombified(item.plus)); } -// Try to equip the zombie/skeleton/etc. with the objects it died with. -// This excludes items which were dropped by the player onto the corpse, -// and corpses which were picked up and moved by the player, so the player -// can't equip their undead slaves with items of their choice. +// Try to equip the skeleton/zombie/spectral thing with the objects it +// died with. This excludes items which were dropped by the player onto +// the corpse, and corpses which were picked up and moved by the player, +// so the player can't equip their undead slaves with items of their +// choice. // // The item selection logic has one problem: if a first monster without // any items dies and leaves a corpse, and then a second monster with @@ -694,6 +695,7 @@ void equip_undead(const coord_def &a, int corps, int monster, int monnum) objl = mitm[objl].link; } + // This handles Yredelemnul's enslaved intact souls. const bool smart_undead = mons_intel(mon) >= I_NORMAL; for (int i = item_list.size() - 1; i >= 0; --i) -- cgit v1.2.3-54-g00ecf