From a2a8c0f86c08f62b7b3d3f46e28e54ad826dbf1f Mon Sep 17 00:00:00 2001 From: cohrs Date: Sun, 20 Apr 2003 22:29:25 +0000 Subject: [PATCH] gauntlets of power removal encumbrance feedback 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 | 1 + src/do_wear.c | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/fixes34.2 b/doc/fixes34.2 index 81a19cad4..941be5c52 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -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 diff --git a/src/do_wear.c b/src/do_wear.c index cad425b1e..3599a0f12 100644 --- a/src/do_wear.c +++ b/src/do_wear.c @@ -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 && -- 2.40.0