fix #H7530 - corpse from corpseless monster

Migrating monster attempting to arrive on a level which is already
full of monsters gets killed off.  It was leaving a corpse without
regard for whether it was a type of of monster which should never
leave corpses.

I'd prefer that it be put back on the migrating_mons list rather
than be killed off, but this just suppresses impossible corpses.
This commit is contained in:
PatR
2018-11-20 13:13:23 -08:00
parent ffac5f1a65
commit d15dacc44c
3 changed files with 29 additions and 4 deletions

View File

@@ -202,6 +202,9 @@ a stale gold symbol could be displayed on the status line following a switch
to a new symset, as observed and reported for Windows RogueEpyx symset
successfully paying for shop damage with shop credit would be followed by
impossible "zero payment in money2mon"
if a migrating monster was killed off because there was no room on the
destination level, it would leave a corpse even if it was a type
which should never leave one (demon, golem, blob, &c)
Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository