version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.13 2001/09/27 19:37:39 garbled Exp $"; | | * "$Id: c_misc.c,v 1.14 2002/03/01 21:33:11 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
{ | | { |
char buf[MAX_BUF]; | | char buf[MAX_BUF]; |
| | |
| | /* dragon players cannot change titles */ |
| | if (op != NULL && op->type == PLAYER && strcmp(op->race, "dragon")==0) { |
| | new_draw_info(NDI_UNIQUE, 0, op, "Dragons cannot change titles."); |
| | return 1; |
| | } |
| | |
if(params == NULL) { | | if(params == NULL) { |
if(op->contr->own_title[0]=='\0') | | if(op->contr->own_title[0]=='\0') |
sprintf(buf,"Your title is '%s'.", op->contr->title); | | sprintf(buf,"Your title is '%s'.", op->contr->title); |