Difference for common/treasure.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.6 2000/12/27 07:53:33 cvs Exp $";   *   "$Id: treasure.c,v 1.7 2001/01/15 22:33:32 cvs Exp $";
  */   */
   
 /*  /*
Line 1302
 
Line 1302
  */   */
   
 void give_artifact_abilities(object *op, object *artifct) {  void give_artifact_abilities(object *op, object *artifct) {
   char new_name[MAX_BUF], identified;    char new_name[MAX_BUF];
   
   sprintf(new_name, "of %s", artifct->name);    sprintf(new_name, "of %s", artifct->name);
   if (op->title)    if (op->title)
Line 1310
 
Line 1310
   op->title = add_string(new_name);    op->title = add_string(new_name);
   add_abilities(op, artifct); /* Give out the bonuses */    add_abilities(op, artifct); /* Give out the bonuses */
   
 #if 1 /* 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... */
   identified = QUERY_FLAG(op, FLAG_IDENTIFIED);    {
       char identified = QUERY_FLAG(op, FLAG_IDENTIFIED);
   SET_FLAG(op, FLAG_IDENTIFIED);    SET_FLAG(op, FLAG_IDENTIFIED);
   LOG(llevDebug, "Generated artifact %s %s [%s]\n",    LOG(llevDebug, "Generated artifact %s %s [%s]\n",
       op->name, op->title, describe_item(op));        op->name, op->title, describe_item(op));
   if (!identified)    if (!identified)
    CLEAR_FLAG(op, FLAG_IDENTIFIED);     CLEAR_FLAG(op, FLAG_IDENTIFIED);
     }
 #endif  #endif
   return;    return;
 }  }


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

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