Difference for server/c_misc.c from version 1.22 to 1.23


version 1.22 version 1.23
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_misc_c =   * static char *rcsid_c_misc_c =
  *   "$Id: c_misc.c,v 1.22 2002/11/08 08:54:07 garbled Exp $";   *   "$Id: c_misc.c,v 1.23 2002/11/12 23:09:11 garbled Exp $";
  */   */
   
 /*  /*
Line 1113
 
Line 1113
 }  }
   
   
 #ifdef SET_TITLE  
 int command_title (object *op, char *params)  int command_title (object *op, char *params)
 {  {
     char buf[MAX_BUF];      char buf[MAX_BUF];
          
       if (settings.set_title == FALSE) {
    new_draw_info(NDI_UNIQUE, 0, op, "You cannot change your title.");
    return 1;
       }
   
     /* dragon players cannot change titles */      /* dragon players cannot change titles */
     if (is_dragon_pl(op)) {      if (is_dragon_pl(op)) {
         new_draw_info(NDI_UNIQUE, 0, op, "Dragons cannot change titles.");          new_draw_info(NDI_UNIQUE, 0, op, "Dragons cannot change titles.");
Line 1148
 
Line 1152
     strcpy(op->contr->own_title, params);      strcpy(op->contr->own_title, params);
     return 1;      return 1;
 }  }
 #endif /* SET_TITLE */  
   
 int command_save (object *op, char *params)  int command_save (object *op, char *params)
 {  {


Legend:
line(s) removed in v.1.22 
line(s) changed
 line(s) added in v.1.23

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:27