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:
@@ -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')
|
allow wishing for magenta potions (ignoring the rank name 'mage')
|
||||||
fix an uninitialized memory access in non-quick dolookup
|
fix an uninitialized memory access in non-quick dolookup
|
||||||
fix were changing message that wasn't being displayed
|
fix were changing message that wasn't being displayed
|
||||||
|
immediate encumbrance feedback when removing gauntlets of power
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -431,6 +431,7 @@ Gloves_off()
|
|||||||
}
|
}
|
||||||
setworn((struct obj *)0, W_ARMG);
|
setworn((struct obj *)0, W_ARMG);
|
||||||
cancelled_don = FALSE;
|
cancelled_don = FALSE;
|
||||||
|
(void) encumber_msg(); /* immediate feedback for GoP */
|
||||||
|
|
||||||
/* Prevent wielding cockatrice when not wearing gloves */
|
/* Prevent wielding cockatrice when not wearing gloves */
|
||||||
if (uwep && uwep->otyp == CORPSE &&
|
if (uwep && uwep->otyp == CORPSE &&
|
||||||
|
|||||||
Reference in New Issue
Block a user