summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index de4fb55810..bc8ed70904 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -893,11 +893,13 @@ static bool _raise_corpse(int x, int y, int corps, beh_type beha,
}
_equip_undead(x, y, corps, monster, monnum);
- }
- destroy_item(corps);
+ destroy_item(corps);
- return (true);
+ return (true);
+ }
+
+ return (false);
}
bool animate_a_corpse(int x, int y, corpse_type class_allowed,