]> granicus.if.org Git - nethack/commitdiff
fix burned by burning/drowned in a drowning
authornethack.rankin <nethack.rankin>
Fri, 29 Sep 2006 02:43:27 +0000 (02:43 +0000)
committernethack.rankin <nethack.rankin>
Fri, 29 Sep 2006 02:43:27 +0000 (02:43 +0000)
     From a bug report:  you could end up with
gravestone/logfile result of "burned by burning" or "drowned in a drowning".
If you get life-saved when drowning in water or burning in lava, the game
tries to teleport you to safety.  If the teleport fails for some reason--
such as lack of unoccupied non-water or non-lava locations--you drown or
burn again.  But life-saving was resetting the killer reason and the repeat
drowning/burning wasn't setting it up again, so the default got used and
produced a silly result.

doc/fixes34.4

index 0362fc007c958740b132ad981d9a66b05fc9f711..f866d992f8b1c7d5a737cbf7754e0c9f2ceb811f 100644 (file)
@@ -262,6 +262,7 @@ affected monsters should always respect "Elbereth"
 try harder to keep dragged chain between ball and hero
 fireproof containers should not burn in lava
 fix invalid pointer dereference after applying a wielded cream pie
+avoid drowned in a drowning and burned by burning if life-saving is inadequate
 
 
 Platform- and/or Interface-Specific Fixes