From: cohrs Date: Tue, 12 Feb 2002 04:42:40 +0000 (+0000) Subject: "The" Invocation items in farewell message X-Git-Tag: MOVE2GIT~3194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd3c76815dcb6d017abe341e0139f4707c3d183f;p=nethack "The" Invocation items in farewell message --- diff --git a/src/end.c b/src/end.c index fc26a84cb..282ce827f 100644 --- a/src/end.c +++ b/src/end.c @@ -494,7 +494,8 @@ winid endwin; otmp->known = otmp->bknown = otmp->dknown = otmp->rknown = 1; /* assumes artifacts don't have quan>1 */ - Sprintf(pbuf, "%s (worth %ld %s and %ld points)", + Sprintf(pbuf, "%s%s (worth %ld %s and %ld points)", + !otmp->oartifact ? "The " : "", otmp->oartifact ? artifact_name(xname(otmp), &dummy) : OBJ_NAME(objects[otmp->otyp]), arti_cost(otmp), currency(2L),