"The" Invocation items in farewell message followup

use and export the_unique_obj() for the test, to ensure consistency
This commit is contained in:
cohrs
2002-02-12 05:42:08 +00:00
parent bd3c76815d
commit c1a3682952
3 changed files with 3 additions and 5 deletions

View File

@@ -495,7 +495,7 @@ winid endwin;
otmp->rknown = 1;
/* assumes artifacts don't have quan>1 */
Sprintf(pbuf, "%s%s (worth %ld %s and %ld points)",
!otmp->oartifact ? "The " : "",
the_unique_obj(otmp) ? "The " : "",
otmp->oartifact ? artifact_name(xname(otmp), &dummy) :
OBJ_NAME(objects[otmp->otyp]),
arti_cost(otmp), currency(2L),