]> granicus.if.org Git - nethack/commit
Destroy water walking boots on lava first.
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Thu, 19 Feb 2015 04:05:37 +0000 (23:05 -0500)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Thu, 19 Feb 2015 04:05:37 +0000 (23:05 -0500)
commitd34bc6fd735da531c71a62aca09495a2a6122d80
tree1299bfcb8b325137fcce527589259576fc0f4c0e
parentca6bbf8bc3c8efdf993adb9dd25f9694ee9cd369
Destroy water walking boots on lava first.

This avoids a player being left standing on lava if their boots are burned up and
they survive the damage.

This change is originally due to Steve Melenchuk, fixed up by Derrick Sund.
src/trap.c