"The" Invocation items in farewell message

This commit is contained in:
cohrs
2002-02-12 04:42:40 +00:00
parent e541a42e0d
commit bd3c76815d

View File

@@ -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),