diff --git a/doc/fixes34.1 b/doc/fixes34.1 index f877194e7..1c2df9b89 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -5,6 +5,7 @@ General Fixes and Modified Features prevent panic() obj_not_free when pushing a boulder over a landmine there was no feedback when successfully hitting shock resistant monsters with Mjollnir via hand-to-hand attack +unbought single-bite food eaten in shops was not billed properly Platform- and/or Interface-Specific Fixes diff --git a/src/eat.c b/src/eat.c index 4cd2427f8..0f91cfcdf 100644 --- a/src/eat.c +++ b/src/eat.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)eat.c 3.4 2002/01/02 */ +/* SCCS Id: @(#)eat.c 3.4 2002/03/22 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -316,8 +316,7 @@ register struct obj *otmp; if (!otmp->oeaten) { if(((!carried(otmp) && costly_spot(otmp->ox, otmp->oy) && !otmp->no_charge) - || otmp->unpaid) && - (otmp->otyp == CORPSE || objects[otmp->otyp].oc_delay > 1)) { + || otmp->unpaid)) { /* create a dummy duplicate to put on bill */ verbalize("You bit it, you bought it!"); bill_dummy_object(otmp);