]> granicus.if.org Git - nethack/commit
more starving pets
authornethack.rankin <nethack.rankin>
Sat, 14 Sep 2002 05:48:40 +0000 (05:48 +0000)
committernethack.rankin <nethack.rankin>
Sat, 14 Sep 2002 05:48:40 +0000 (05:48 +0000)
commit6772c3973c0f487fea60ce14f43fa1305f215068
treeec19b02fbff2d0b35d26ea8aed26630ad341803e
parent6f63f81b86baca4060e3bb0bbb1862b971a061e7
more starving pets

     The fact that a pet was starving to death got recorded with its
corpse; if that corpse was revived via undead turning, the resulting
monster would immediately starve again if it stayed tame.  Similarly,
if one got petrified while nearly starved, reanimating the statue would
produce a starving pet.  Make revival and reanimation use the same code
as life-saving, where hunger status gets reset.
doc/fixes34.1
src/dog.c
src/mon.c