]> granicus.if.org Git - nethack/commitdiff
gauntlets of power removal encumbrance feedback
authorcohrs <cohrs>
Sun, 20 Apr 2003 22:29:25 +0000 (22:29 +0000)
committercohrs <cohrs>
Sun, 20 Apr 2003 22:29:25 +0000 (22:29 +0000)
<Someone> reported that encumbrance feedback when removing GoP
was delayed until the next turn.  Several other places call encumber_msg()
to provide immediate feedback.  Call it in Gloves_off() too.

doc/fixes34.2
src/do_wear.c

index 81a19cad480af2ce3e3a182e82755185eeb3566a..941be5c52ba26ef0fd6651e854da11979ac83a63 100644 (file)
@@ -44,6 +44,7 @@ running that stops for closed doors should stop at mimics mimicking closed doors
 allow wishing for magenta potions (ignoring the rank name 'mage')
 fix an uninitialized memory access in non-quick dolookup
 fix were changing message that wasn't being displayed
+immediate encumbrance feedback when removing gauntlets of power
 
 
 Platform- and/or Interface-Specific Fixes
index cad425b1ed00ffa96bc84b5e0d9fd569f1e2a9a0..3599a0f128bc88f3d057d90be8a616d550367b8f 100644 (file)
@@ -431,6 +431,7 @@ Gloves_off()
     }
     setworn((struct obj *)0, W_ARMG);
     cancelled_don = FALSE;
+    (void) encumber_msg();             /* immediate feedback for GoP */
 
     /* Prevent wielding cockatrice when not wearing gloves */
     if (uwep && uwep->otyp == CORPSE &&