summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 028140ed04..bc0f32ee84 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1568,6 +1568,14 @@ void monster_die(monsters *monster, killer_type killer,
}
}
+ if (!mons_reset)
+ {
+ _monster_die_cloud(monster, true, silent, summoned, summon_type);
+ // Have to add case for disintegration effect here? {dlb}
+ if (!summoned)
+ _place_monster_corpse(monster, silent);
+ }
+
if (!mons_reset && !crawl_state.arena)
{
you.kills->record_kill(monster, killer, pet_kill);
@@ -1593,11 +1601,6 @@ void monster_die(monsters *monster, killer_type killer,
curr_PlaceInfo += delta;
curr_PlaceInfo.assert_validity();
-
- _monster_die_cloud(monster, true, silent, summoned, summon_type);
- // Have to add case for disintegration effect here? {dlb}
- if (!summoned)
- _place_monster_corpse(monster, silent);
}
_fire_monster_death_event(monster, killer, killer_index, false);