]> granicus.if.org Git - nethack/commit
fix github issue #531 - genderless corpses
authorPatR <rankin@nethack.org>
Tue, 8 Jun 2021 10:43:46 +0000 (03:43 -0700)
committerPatR <rankin@nethack.org>
Tue, 8 Jun 2021 10:43:46 +0000 (03:43 -0700)
commit04a8ddcce1f2c679706a0e9413f742677dbb0f68
treeb0e12d66abfa3d325cf94663dce579037d47ed2d
parent14b2330fd67f263a4413df785a1d23fa6004d9ba
fix github issue #531 - genderless corpses

Dead monsters that had traits saved with the corpse would revive as
the same gender, but ordinary corpses revived with random gender so
could be different from before they got killed.

Since corpses of monsters lacked gender, those for monsters with
gender-specific names were described by the neuter name.

This is a fairly big change for a fairly minor problem and needs a
lot more testing.

Fixes #531
12 files changed:
doc/fixes37.0
include/hack.h
include/obj.h
src/display.c
src/mkobj.c
src/mon.c
src/mondata.c
src/nhlobj.c
src/objnam.c
src/sp_lev.c
src/trap.c
src/zap.c