fix #K3317 - warning when eating corpse
The report was misleading because the warning about partly eaten food being more nutritious than untouched food was actually given when the partly eaten corpse was used to calculate hit points of the new monster as the corpse was reviving as a zombie, rather than when a bite was taken from it. Pull request #497 had correct analysis and a fix, although I've put the fix in a different place. Closes #497
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.518 $ $NHDT-Date: 1619640466 2021/04/28 20:07:46 $
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.519 $ $NHDT-Date: 1619919402 2021/05/02 01:36:42 $
|
||||
|
||||
General Fixes and Modified Features
|
||||
-----------------------------------
|
||||
@@ -637,6 +637,11 @@ if an invisible hero managed to convert an unaligned altar to an aligned one
|
||||
with color enabled, altar wasn't immediately redrawn with new color
|
||||
repair some regressions to (a)pply introduced by "getobj refactor" patch
|
||||
fix ^X feedback when held typo: "unseen createure" -> "unseen creature"
|
||||
if a <foo> corpse was set to revive as a <foo> zombie and corpse was partly
|
||||
eaten at revival time and monster <foo> is defined as providing more
|
||||
nutrition that <foo> zombie, oeaten_stat() could give the warning
|
||||
"partly eaten food more nutritious than untouched food" when used to
|
||||
calculate zombie's hit points (depended upon how much had been eaten)
|
||||
|
||||
curses: 'msg_window' option wasn't functional for curses unless the binary
|
||||
also included tty support
|
||||
|
||||
Reference in New Issue
Block a user