git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4027 c06c8d41-db1a-0410-9941-cceddc491573
DZ2GM3MGYCEOQ24AMGGYIF2U4PAFHIACEPS7MUQ7TM35OL2YFQVAC
dungeon_events.fire_event(
dgn_event(DET_MONSTER_DIED, monster->pos(), 0,
monster_index(monster), killer));
// Banished monsters aren't technically dead, so no death event
// for them.
if (killer != KILL_RESET)
{
dungeon_events.fire_event(
dgn_event(DET_MONSTER_DIED, monster->pos(), 0,
monster_index(monster), killer));
if (monster->type == MONS_ROYAL_JELLY)
apply_to_level( level_id(BRANCH_SLIME_PITS, 6),
true,
_slime_pit_enable_teleport_control );
if (monster->type == MONS_ROYAL_JELLY)
apply_to_level( level_id(BRANCH_SLIME_PITS, 6),
true,
_slime_pit_enable_teleport_control );
}