version 1.4 | | version 1.5 |
---|
| | |
/* | | /* |
* static char *rcsid_c_party_c = | | * static char *rcsid_c_party_c = |
* "$Id: c_party.c,v 1.4 2002/07/15 04:25:40 mwedel Exp $"; | | * "$Id: c_party.c,v 1.5 2002/11/12 23:09:11 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
"Members of party: %s.",find_party(no,firstparty)); | | "Members of party: %s.",find_party(no,firstparty)); |
for(pl=first_player;pl!=NULL;pl=pl->next) | | for(pl=first_player;pl!=NULL;pl=pl->next) |
if(pl->ob->contr->party_number==no) { | | if(pl->ob->contr->party_number==no) { |
#ifdef SET_TITLE | | if (settings.set_title == TRUE) { |
if(pl->ob->contr->own_title[0]!='\0') | | if(pl->ob->contr->own_title[0]!='\0') |
sprintf(buf,"%3d %s the %s", | | sprintf(buf,"%3d %s the %s", |
pl->ob->level,pl->ob->name,pl->ob->contr->own_title); | | pl->ob->level,pl->ob->name,pl->ob->contr->own_title); |
else | | else |
#endif /* SET_TITLE */ | | sprintf(buf,"%3d %s the %s", |
| | pl->ob->level,pl->ob->name,pl->ob->contr->title); |
| | } else |
sprintf(buf,"%3d %s the %s", | | sprintf(buf,"%3d %s the %s", |
pl->ob->level,pl->ob->name,pl->ob->contr->title); | | pl->ob->level,pl->ob->name,pl->ob->contr->title); |
new_draw_info(NDI_UNIQUE, 0,op,buf); | | new_draw_info(NDI_UNIQUE, 0,op,buf); |