falling into water while asleep

Try to fix the reported bug of not waking up if sleeping on ice
that gets melted out from under you.  This fixes the straightforward
case but I suspect there are other permutations that it doesn't cover.
Teleporting out of water is now blocked if asleep; waking up occurs
after the chance for that has passed.
This commit is contained in:
nethack.rankin
2003-02-11 11:57:14 +00:00
parent 731f4945ff
commit fe05bcf52d
2 changed files with 11 additions and 4 deletions

View File

@@ -380,6 +380,7 @@ xorns sink if the drawbridge they're standing on is raised
applying figurines to an adjacent spot over water does drowning checks
fix sequencing of Magicbane's hit messages
avoid buffer overflow from long or too many -s params
wake up first if trying to crawl out of water while asleep
Platform- and/or Interface-Specific Fixes