diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-08 03:15:52 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-08 03:15:52 +0000 |
commit | 42ffb2da16bb719f3aaacd3a82ba8d68905b3192 (patch) | |
tree | 4fa43201e84f7d54abb642504bb6879f5a7a601f /crawl-ref/source/spells3.cc | |
parent | c14289d9e10373085bb757b8ed1acf401aa4c617 (diff) | |
download | crawl-ref-42ffb2da16bb719f3aaacd3a82ba8d68905b3192.tar.gz crawl-ref-42ffb2da16bb719f3aaacd3a82ba8d68905b3192.zip |
Add more comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8319 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 10 |
1 files changed, 6 insertions, 4 deletions
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) |