another "your corpse" case
- switch aobjnam() to use cxname, not xname - update Tobjnam() comment, since it can still use xname w/o confusion A specific case that's fixed: You begin bashing monsters with your corpse.
This commit is contained in:
+3
-3
@@ -951,13 +951,13 @@ const char *str;
|
|||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* returns "count xname(otmp)" or just xname(otmp) if count == 1 */
|
/* returns "count cxname(otmp)" or just cxname(otmp) if count == 1 */
|
||||||
char *
|
char *
|
||||||
aobjnam(otmp,verb)
|
aobjnam(otmp,verb)
|
||||||
register struct obj *otmp;
|
register struct obj *otmp;
|
||||||
register const char *verb;
|
register const char *verb;
|
||||||
{
|
{
|
||||||
register char *bp = xname(otmp);
|
register char *bp = cxname(otmp);
|
||||||
char prefix[PREFIX];
|
char prefix[PREFIX];
|
||||||
|
|
||||||
if(otmp->quan != 1L) {
|
if(otmp->quan != 1L) {
|
||||||
@@ -972,7 +972,7 @@ register const char *verb;
|
|||||||
return(bp);
|
return(bp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* like aobjnam, but prepend "The", not count */
|
/* like aobjnam, but prepend "The", not count, and use xname */
|
||||||
char *
|
char *
|
||||||
Tobjnam(otmp, verb)
|
Tobjnam(otmp, verb)
|
||||||
register struct obj *otmp;
|
register struct obj *otmp;
|
||||||
|
|||||||
Reference in New Issue
Block a user