summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/spells3.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 1ee1097a86..ca3c85ca32 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -665,12 +665,8 @@ static void _equip_undead(const coord_def &a, int corps, int monster,
item_def item(mitm[objl]);
if (item.base_type == OBJ_CORPSES)
- {
first_obj = NON_ITEM;
- continue;
- }
-
- if (first_obj == NON_ITEM)
+ else if (first_obj == NON_ITEM)
first_obj = objl;
objl = item.link;