]> granicus.if.org Git - nethack/commit
disclosure fix
authorPatR <rankin@nethack.org>
Wed, 27 Mar 2019 02:16:01 +0000 (19:16 -0700)
committerPatR <rankin@nethack.org>
Wed, 27 Mar 2019 02:16:01 +0000 (19:16 -0700)
commit42cb4ac3e8169d761c27db66e6b092da8bd3b268
tree90b3c71a7737688bbc41cce7dc39b19fd738ca78
parente12d2d326b9f4e552c16c16e02f2a78fdb505e71
disclosure fix

Back in December, a change was made to suppress status when u.uhp == -1.
But if the hero died with exactly that amount, the status display would
be blanked out during end of game disclosure.  Force u.uhp to be 0 when
dying.  That was already happening if death occurred while hero still
had positive HP, but not when damage took him/her to negative.
doc/fixes36.2
src/end.c