From d0ee89ab68c4afbe202fae3ec21a5d4a5a6d8dff Mon Sep 17 00:00:00 2001 From: PatR Date: Tue, 13 Sep 2022 04:28:49 -0700 Subject: [PATCH] container-to-container #tip typo When tipping a magic-bag exploder from a sack or box into a bag of holding, the choice of whether to call useup() or useupf() was backwards. But nothing bad happened which is fishy. --- src/pickup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pickup.c b/src/pickup.c index e0f1fbe90..6acc20e21 100644 --- a/src/pickup.c +++ b/src/pickup.c @@ -3520,7 +3520,7 @@ tipcontainer(struct obj *box) /* or bag */ doname(otmp), otense(otmp, "tumble")); do_boh_explosion(targetbox, held); nobj = 0; /* stop tipping; want loop to exit 'normally' */ - if (!held) + if (held) useup(targetbox); else useupf(targetbox, targetbox->quan);