]> granicus.if.org Git - nethack/commit
msummon,nasty result counts (trunk only)
authornethack.rankin <nethack.rankin>
Mon, 16 Apr 2007 03:58:30 +0000 (03:58 +0000)
committernethack.rankin <nethack.rankin>
Mon, 16 Apr 2007 03:58:30 +0000 (03:58 +0000)
commit2872c27e132cac982af0f46711914803d500a313
treecd2f6345869a9a0e4776f86f1b4b461168eb7dc8
parent2aa7cb189b2cb29538279509d21ba9031da3763d
msummon,nasty result counts (trunk only)

     Reported in Dec'04 by <email deleted>, the
monster spell "summon nasties" could mistakenly give a message of "a
monster appears" instead of "monsters appear" when more that one monster
gets summoned.  Some of the candidate monsters for nasty() can produce a
group from makemon(), as can ones for msummon() which nasty() sometimes
calls in Gehennom.  Compare the number of monsters before and after the
creation attempt(s) instead of assuming makemon() creates one at a time.

     I don't know whether other routines face the same mis-count issue,
but I suspect there may be several.
doc/fixes35.0
include/extern.h
src/minion.c
src/wizard.c