Difference for server/player.c from version 1.164 to 1.165


version 1.164 version 1.165
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.164 2005/05/29 15:37:54 tchize Exp $";   *   "$Id: player.c,v 1.165 2005/07/10 13:54:06 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 258
 
Line 258
     p->explore=0;      p->explore=0;
  p->no_shout=0; /* default can shout */   p->no_shout=0; /* default can shout */
   
     strncpy(p->title,op->arch->clone.name,MAX_NAME);      strncpy(p->title, op->arch->clone.name, sizeof(p->title)-1);
       p->title[sizeof(p->title)-1] = '\0';
     op->race = add_string (op->arch->clone.race);      op->race = add_string (op->arch->clone.race);
   
     CLEAR_FLAG(op,FLAG_READY_SKILL);       CLEAR_FLAG(op,FLAG_READY_SKILL);
Line 1012
 
Line 1013
  op->y = y;   op->y = y;
  SET_ANIMATION(op, 2);    /* So player faces south */   SET_ANIMATION(op, 2);    /* So player faces south */
  insert_ob_in_map (op, op->map, op,0);   insert_ob_in_map (op, op->map, op,0);
  strncpy(op->contr->title,op->arch->clone.name,MAX_NAME);   strncpy(op->contr->title, op->arch->clone.name, sizeof(op->contr->title)-1);
    op->contr->title[sizeof(op->contr->title)-1] = '\0';
  add_statbonus(op);   add_statbonus(op);
  tmp_loop=allowed_class(op);   tmp_loop=allowed_class(op);
     }      }


Legend:
line(s) removed in v.1.164 
line(s) changed
 line(s) added in v.1.165

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