]> granicus.if.org Git - nethack/commit
spurious mail daemons (trunk only)
authornethack.rankin <nethack.rankin>
Mon, 28 Feb 2011 03:36:08 +0000 (03:36 +0000)
committernethack.rankin <nethack.rankin>
Mon, 28 Feb 2011 03:36:08 +0000 (03:36 +0000)
commit9e7df53b84d2121a3690b2a1d61d1f0c2b7f4820
tree6f96ed21e904a13b4b0a324c5774f07ca0be9108
parentf23e87f2b43bba2c8fdf79c9ccacd784adcd63a9
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.
doc/fixes35.0
src/makemon.c