--- deliantra/server/common/object.C 2007/01/07 02:39:13 1.108 +++ deliantra/server/common/object.C 2007/01/07 21:54:59 1.109 @@ -679,12 +679,14 @@ { uuid = gen_uuid (); + refcnt_inc (); objects.insert (this); } void object::unlink () { objects.erase (this); + refcnt_dec (); } void