spurious mail daemons (trunk only)

From the newsgroup:  when the special level loader is creating
random '&' class monsters, it can produce mail daemons.  The thread
reports seeing some on the levels holding the Wizard of Yendor's Tower
and they vanish as soon as it's their turn to move.  I didn't reproduce
it, but create_monster() is overriding the NOGEN flag when it calls
mkclass() so getting mail daemons is feasible.  This fixes that by
treating them similar to the human/elf/orc/giant placeholder monsters
that are excluded from random generation.  More or less.
This commit is contained in:
nethack.rankin
2011-02-28 03:36:08 +00:00
parent f23e87f2b4
commit 9e7df53b84
2 changed files with 25 additions and 12 deletions

View File

@@ -345,6 +345,7 @@ using an unlocking tool on a closed door which was actually a mimic reported
purple worm could end up in wall or solid rock when swallowing ghost or xorn
enhance life-saving by preventing subsequent poison from being fatal upon
rescue from death due to spiked pit, dart trap, or poisoned missile
don't create mail daemons when populating special levels with random demons
Platform- and/or Interface-Specific Fixes