diff --git a/doc/fixes36.2 b/doc/fixes36.2 index 5e1d1ad9d..f8af944e2 100644 --- a/doc/fixes36.2 +++ b/doc/fixes36.2 @@ -68,6 +68,8 @@ shopkeeper's position in front of shop door didn't correctly handle bottom attempting to update permanent inventory window during restore had problems with unpaid items (needed shop bill before shop and its shopkeeper were restored) and named fruit +remembered corpse which isn't there anymore would be described by farlook as + the corpse of a random monster type Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository diff --git a/src/pager.c b/src/pager.c index 308c84279..d44efb795 100644 --- a/src/pager.c +++ b/src/pager.c @@ -187,6 +187,10 @@ struct obj **obj_p; otmp->spe = context.current_fruit; /* give it a type */ if (mtmp && has_mcorpsenm(mtmp)) /* mimic as corpse/statue */ otmp->corpsenm = MCORPSENM(mtmp); + else if (otmp->otyp == CORPSE && glyph_is_body(glyph)) + otmp->corpsenm = glyph - GLYPH_BODY_OFF; + else if (otmp->otyp == STATUE && glyph_is_statue(glyph)) + otmp->corpsenm = glyph - GLYPH_STATUE_OFF; } /* if located at adjacent spot, mark it as having been seen up close (corpse type will be known even if dknown is 0, so we don't need a