summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 9f98a18fef..c74d4cdb2a 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -716,11 +716,8 @@ static int place_monster_aux( int mon_type, beh_type behaviour, int target,
if (id == MAX_MONSTERS)
return -1;
- menv[id].inv.init(NON_ITEM);
- // scrap monster enchantments
- menv[id].enchantments.clear();
- menv[id].ench_countdown = 0;
-
+ menv[id].reset();
+
// setup habitat and placement
// If the space is occupied, try some neighbouring square instead.
if (first_band_member && mgrd[px][py] == NON_MONSTER