diff --git a/doc/fixes34.0 b/doc/fixes34.0 index e203b3d35..69e350a18 100644 --- a/doc/fixes34.0 +++ b/doc/fixes34.0 @@ -431,6 +431,7 @@ monsters with M3_WANTSBOOK often couldn't move in the Wizard-level Vlad should want the Candelabrum if you float_down on a trap in which you're already trapped, don't retrap applying whip toward hidden mimic displays mimic name before "Wait!" message +stealing a container didn't multiply cost of stolen contained objects by quan Platform- and/or Interface-Specific Fixes diff --git a/src/shk.c b/src/shk.c index 11b0286f6..12cb34989 100644 --- a/src/shk.c +++ b/src/shk.c @@ -2373,11 +2373,11 @@ register boolean ininv; if (!Has_contents(otmp)) { if(ininv) { if(otmp->unpaid) - price += get_cost(otmp, shkp); + price += otmp->quan * get_cost(otmp, shkp); } else { if(!otmp->no_charge) { if(otmp->oclass != FOOD_CLASS || !otmp->oeaten) - price += get_cost(otmp, shkp); + price += otmp->quan * get_cost(otmp, shkp); } otmp->no_charge = 0; }