]> granicus.if.org Git - nethack/commitdiff
elven boots
authornethack.allison <nethack.allison>
Fri, 19 May 2006 18:35:11 +0000 (18:35 +0000)
committernethack.allison <nethack.allison>
Fri, 19 May 2006 18:35:11 +0000 (18:35 +0000)
<email deleted> wrote:
> While levitating, I put on an unknown pair of boots.  They turned out to be
> elven boots.  I received the message, "You finish your dressing maneuver.  You
> walk very quietly."  Incidentally, I was hallucinating at the time.
>
> It seems to me that levitating individuals shouldn't be able to tell that they
> walk quietly.

doc/fixes34.4
src/do_wear.c

index cf5a22a774728e5b4e7cd927a468fbfe58501353..a3ca4964ea3ec8c014160587ef2e1d2ec32b45a3 100644 (file)
@@ -221,6 +221,7 @@ when a potion of acid was dropped into water and exploded, nethack would
        continue to use already freed memory and later might panic or crash
 when jumping over an already seen trap, use an() to get appropriate grammar
 fix bad grammar when putting on not-yet-seen Eyes of the Overworld while blind
+don't "walk quietly" while levitating
 
 
 Platform- and/or Interface-Specific Fixes
index 9a31887c2dac28d5952f03070ef987780ed64d3d..be34e53d18f8a93414c3a9f97ab92e5b38dbc08b 100644 (file)
@@ -113,7 +113,10 @@ Boots_on()
        case ELVEN_BOOTS:
                if (!oldprop && !HStealth && !BStealth) {
                        makeknown(uarmf->otyp);
-                       You("walk very quietly.");
+                       if (Levitation || Flying)
+                               You("float imperceptibly.");
+                       else
+                               You("walk very quietly.");
                }
                break;
        case FUMBLE_BOOTS: