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.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index b179065d2c..a86458916c 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1821,6 +1821,11 @@ bool monster_polymorph(monsters *monster, monster_type targetc,
// the monster is still a mermaid/siren.
update_beholders(monster, true);
+ // Inform listenerns that the original monster is gone (and
+ // unlock the vaults on Slime:6 if it's the Royal Jelly which
+ // was changed).
+ _fire_monster_death_event(monster, KILL_MISC, NON_MONSTER);
+
// the actual polymorphing:
const int old_hp = monster->hit_points;
const int old_hp_max = monster->max_hit_points;