diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 1eced6d87..8254a7353 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -347,6 +347,7 @@ use a more precise jumping path for far, non-straight line destinations increase damage bonus applies when kicking while polymorphed into a monster form which has a kicking attack, just like for other kicks if magically removing steed's saddle is fatal, don't leave it saddled in bones +charging prompt used wrong criteria when deciding whether to list rings Platform- and/or Interface-Specific Fixes diff --git a/src/read.c b/src/read.c index 2ae669f02..b40f44aeb 100644 --- a/src/read.c +++ b/src/read.c @@ -214,10 +214,11 @@ is_chargeable(obj) struct obj *obj; { if (obj->oclass == WAND_CLASS) return TRUE; - /* known && !uname is possible after amnesia/mind flayer */ + /* known && !oc_name_known is possible after amnesia/mind flayer */ if (obj->oclass == RING_CLASS) return (boolean)(objects[obj->otyp].oc_charged && - (obj->known || objects[obj->otyp].oc_uname)); + (obj->known || + (obj->dknown && objects[obj->otyp].oc_name_known))); if (is_weptool(obj)) /* specific check before general tools */ return FALSE; if (obj->oclass == TOOL_CLASS)