gauntlets of power removal encumbrance feedback

<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.
This commit is contained in:
cohrs
2003-04-20 22:29:25 +00:00
parent cb56f6fd2d
commit a2a8c0f86c
2 changed files with 2 additions and 0 deletions

View 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

View 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 &&