Difference for common/object.c from version 1.23 to 1.24


version 1.23 version 1.24
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: object.c,v 1.23 2001/04/30 03:36:35 mwedel Exp $";   *   "$Id: object.c,v 1.24 2001/04/30 06:34:28 mwedel Exp $";
  */   */
   
 /*  /*
Line 353
 
Line 353
   return NULL;    return NULL;
 }  }
   
   void clear_owner(object *op)
   {
       if (!op) return;
   
       if (op->owner && op->ownercount == op->owner->count)
    op->owner->refcount--;
   
       op->owner = NULL;
       op->ownercount = 0;
   }
   
   
 /*  /*
  * Sets the owner of the first object to the second object.   * Sets the owner of the first object to the second object.
  * Also checkpoints a backup id-scheme which detects freeing (and reusage)   * Also checkpoints a backup id-scheme which detects freeing (and reusage)
Line 400
 
Line 412
 }  }
 #endif  #endif
   
   
 /*  /*
  * Sets the owner and sets the skill and exp pointers to owner's current   * Sets the owner and sets the skill and exp pointers to owner's current
  * skill and experience objects.   * skill and experience objects.


Legend:
line(s) removed in v.1.23 
line(s) changed
 line(s) added in v.1.24

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