diff --git a/doc/fixes34.2 b/doc/fixes34.2 index 5bd3f0764..ee63c51b6 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -46,6 +46,7 @@ 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 make deliberately flying down the Castle's trap doors consistent with falling +give more explicit feedback for exploding bag of holding Platform- and/or Interface-Specific Fixes diff --git a/src/pickup.c b/src/pickup.c index 43ed52e32..90262c3f5 100644 --- a/src/pickup.c +++ b/src/pickup.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)pickup.c 3.4 2003/04/02 */ +/* SCCS Id: @(#)pickup.c 3.4 2003/04/26 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1789,7 +1789,10 @@ register struct obj *obj; if (rot_alarm) obj->norevive = 1; } } else if (Is_mbag(current_container) && mbag_explodes(obj, 0)) { - You("are blasted by a magical explosion!"); + /* explicitly mention what item is triggering the explosion */ + pline( + "As you put %s inside, you are blasted by a magical explosion!", + doname(obj)); /* did not actually insert obj yet */ if (was_unpaid) addtobill(obj, FALSE, FALSE, TRUE); obfree(obj, (struct obj *)0);