]> granicus.if.org Git - nethack/commit
filling antholes
authornethack.rankin <nethack.rankin>
Thu, 9 Mar 2006 05:39:38 +0000 (05:39 +0000)
committernethack.rankin <nethack.rankin>
Thu, 9 Mar 2006 05:39:38 +0000 (05:39 +0000)
commite1ef0f104248ae5f428a309a7352cc60ba27a683
tree338b6c3e5806a2783fdda037f653269ac525a4f1
parent354f4254bc796d284a2bd0838b1f70108df4726b
filling antholes

     From a bug report:  when creating a
level, anthole rooms can be generated even when no ants are left, unlike
beehives which get suppressed once killer bees are gone.  Also, if some
ants are available but the type chosen for the current level isn't (in his
case, soldier ants had been genocided), the anthole was filled will random
monsters instead of picking another type of ant.  This fixes both issues.
Random monsters will only occur if the last type of ant gets used up while
filling an anthole that was started when some ants were available, same as
how monster generation for beehives and barracks works.
doc/fixes34.4
include/extern.h
src/mklev.c
src/mkroom.c