Difference for common/object.c from version 1.103 to 1.104


version 1.103 version 1.104
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: object.c,v 1.103 2005/10/01 16:36:35 ryo_saeba Exp $";   *   "$Id: object.c,v 1.104 2005/10/07 17:54:48 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 2440
 
Line 2440
 /*  /*
  * create clone from object to another   * create clone from object to another
  */   */
 object *ObjectCreateClone (object *asrc) {  object *object_create_clone (object *asrc) {
     object *dst = NULL,*tmp,*src,*part,*prev, *item;      object *dst = NULL,*tmp,*src,*part,*prev, *item;
   
     if(!asrc) return NULL;      if(!asrc) return NULL;
Line 2467
 
Line 2467
     }      }
     /*** copy inventory ***/      /*** copy inventory ***/
     for(item = src->inv; item; item = item->below) {      for(item = src->inv; item; item = item->below) {
  (void) insert_ob_in_ob(ObjectCreateClone(item),dst);   (void) insert_ob_in_ob(object_create_clone(item),dst);
     }      }
   
     return dst;      return dst;


Legend:
line(s) removed in v.1.103 
line(s) changed
 line(s) added in v.1.104

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