diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 7aaa8b988..37ed95456 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -207,6 +207,10 @@ shattering a monster's weapon didn't work as intended for stack of N>1 don't reveal surface information that you can neither feel or see if the hero or a monster is already in a pit don't have them "fall into a chasm" from drum of earthquake +monsters who ate lizard corpses to cure confusion would lose intrinsic speed +monsters couldn't eat lizard corpses to cure being stunned +code handling a monster's use of potion or food to cure stoning or confusion + was accessing freed memory after the object had been used up Platform- and/or Interface-Specific Fixes diff --git a/doc/fixes35.0 b/doc/fixes35.0 index 287cbaef3..fe2f69f0f 100644 --- a/doc/fixes35.0 +++ b/doc/fixes35.0 @@ -136,10 +136,6 @@ preform autopickup and/or report on objects at the spot when a failed #untrap attempt causes the hero to move onto a trap's location thrown silver weapon hitting silver-hating poly'd hero got double silver damage wielded silver weapon hitting silver-hating poly'd hero lacked silver message -monsters who ate lizard corpses to cure confusion would lose intrinsic speed -monsters couldn't eat lizard corpses to cure being stunned -code handling a monster's use of potion or food to cure stoning or confusion - was accessing freed memory after the object had been used up Platform- and/or Interface-Specific Fixes diff --git a/src/muse.c b/src/muse.c index 157341465..a69171541 100644 --- a/src/muse.c +++ b/src/muse.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)muse.c 3.5 2006/04/11 */ +/* SCCS Id: @(#)muse.c 3.5 2006/04/17 */ /* Copyright (C) 1990 by Ken Arromdee */ /* NetHack may be freely redistributed. See license for details. */ @@ -2168,9 +2168,10 @@ boolean stoning; distant_name(obj, doname)); obj->quan = save_quan; } else if (!Deaf) - You_hear("%s.", (obj->otyp == POT_ACID) ? "drinking" : "chewing"); + You_hear("%s.", (obj->oclass == POTION_CLASS) ? "drinking" : "chewing"); m_useup(mon, obj); + /* obj is now gone */ if (acid && !tinned && !resists_acid(mon)) { mon->mhp -= rnd(15);