version 1.45 | | version 1.46 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.45 2004/10/18 03:14:19 temitchell Exp $"; | | * "$Id: c_misc.c,v 1.46 2004/10/18 03:25:57 temitchell Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
(void) sprintf(namebuf,"%s the %s%s%s%s:", | | (void) sprintf(namebuf,"%s the %s%s%s%s:", |
pl->ob->name, | | pl->ob->name, |
(pl->own_title[0]=='\0'?pl->title:pl->own_title), | | (pl->own_title[0]=='\0'?pl->title:pl->own_title), |
pl->peaceful?" [Peaceful]":" [Hostile]", | | pl->peaceful?"":" [Hostile]", |
QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"", | | QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"", |
pl->hidden?" [HID]":""); | | pl->hidden?" [HID]":""); |
(void) sprintf(buf," Level %d [%s](@%s)(%d)", | | (void) sprintf(buf," Level %d [%s](@%s)(%d)", |
| | |
(void) sprintf(namebuf,"%s the %s%s%s:", | | (void) sprintf(namebuf,"%s the %s%s%s:", |
pl->ob->name, | | pl->ob->name, |
(pl->own_title[0]=='\0'?pl->title:pl->own_title), | | (pl->own_title[0]=='\0'?pl->title:pl->own_title), |
pl->peaceful?" [Peaceful]":" [Hostile]", | | pl->peaceful?"":" [Hostile]", |
QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":""); | | QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":""); |
(void) sprintf(buf," [%s]", | | (void) sprintf(buf," [%s]", |
pl->ob->map->path); | | pl->ob->map->path); |