fix #H1803 - levitating at floor level...

From a bug report, being stuck in the
floor or in lava and trying to move downwards while levitating gave "you
are floating high above the floor/lava" which contradicts being stuck.
Now you'll get "you are trapped in the floor/lava" in that situation.
I thought about letting it fall through to the chance to autodig with
wielded pick, but decided to go with just the alternate message.  (Being
tethered to a buried iron ball still lets you "float high above the floor",
so this doesn't check for being trapped that way.)
This commit is contained in:
nethack.rankin
2009-02-01 00:56:50 +00:00
parent 71219bf093
commit 84ca1773e5
3 changed files with 17 additions and 6 deletions

View File

@@ -376,6 +376,8 @@ ensure current_fruit gets set to the correct index when setting fruit
monsters already wearing suits can't put on shirts
if life-saved steed became untame, repeated "placing steed onto map?" warnings
would be given as long as the hero remained mounted
trying to move down while levitating said "you are floating high above floor"
even when being stuck in floor or lava blocked full levitation
Platform- and/or Interface-Specific Fixes