Difference for common/treasure.c from version 1.65 to 1.66


version 1.65 version 1.66
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.65 2006/04/06 21:18:34 tchize Exp $";   *   "$Id: treasure.c,v 1.66 2006/05/21 12:50:17 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 1534
 
Line 1534
  * it should have due to the second artifact-template.   * it should have due to the second artifact-template.
  */   */
   
 void give_artifact_abilities(object *op, object *artifct) {  void give_artifact_abilities(object *op, object *artifact) {
   char new_name[MAX_BUF];    char new_name[MAX_BUF];
   
   sprintf(new_name, "of %s", artifct->name);    sprintf(new_name, "of %s", artifact->name);
   if (op->title)    if (op->title)
     free_string(op->title);      free_string(op->title);
   op->title = add_string(new_name);    op->title = add_string(new_name);
   add_abilities(op, artifct); /* Give out the bonuses */    add_abilities(op, artifact); /* Give out the bonuses */
   
 #if 0 /* Bit verbose, but keep it here until next time I need it... */  #if 0 /* Bit verbose, but keep it here until next time I need it... */
   {    {


Legend:
line(s) removed in v.1.65 
line(s) changed
 line(s) added in v.1.66

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