Difference for common/object.c from version 1.42 to 1.43


version 1.42 version 1.43
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: object.c,v 1.42 2001/11/04 20:22:55 michtoen Exp $";   *   "$Id: object.c,v 1.43 2001/11/06 03:39:31 mwedel Exp $";
  */   */
   
 /*  /*
Line 472
 
Line 472
 void copy_owner (object *op, object *clone)  void copy_owner (object *op, object *clone)
 {  {
     object *owner = get_owner (clone);      object *owner = get_owner (clone);
     if (owner == NULL)      if (owner == NULL) {
       return;   /* players don't have owners - they own themselves.  Update
    * as appropriate.
    */
    if (clone->type == PLAYER) owner=clone;
    else return;
       }
     set_owner_simple (op, owner);      set_owner_simple (op, owner);
   
     if (clone->chosen_skill)      if (clone->chosen_skill)


Legend:
line(s) removed in v.1.42 
line(s) changed
 line(s) added in v.1.43

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