]> granicus.if.org Git - nethack/commit
R788 - bones corpses shouldn't all be human
authorcohrs <cohrs>
Wed, 24 Apr 2002 05:21:20 +0000 (05:21 +0000)
committercohrs <cohrs>
Wed, 24 Apr 2002 05:21:20 +0000 (05:21 +0000)
commit93c2b69769b04eb862be28ad2f1ef62d54dad548
tree5e6bd1d37b0e02bd37ad299d90f3cb514f857e03
parentb1fe51e80bbb90f047501976bcfa860ca3785370
R788 - bones corpses shouldn't all be human
u.umonnum was used to create the corpse in a bones file.  However, unless
you're polymorphed and manage to actually die in that form, u.umonnum
refers to a role monster, which all have M2_HUMAN set, so they're all
human.  Even if the role monsters were mutated dynamically when the game
starts, the problem would still exist, just in a different form.
Use urace to determine the corpse type instead.
doc/fixes34.1
src/end.c