ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.150 by root, Tue Jan 23 01:05:18 2007 UTC vs.
Revision 1.151 by root, Tue Jan 23 01:29:51 2007 UTC

182 182
183 attachable *obj = mortals [i]; 183 attachable *obj = mortals [i];
184 184
185 obj->refcnt_chk (); // unborrow from perl, if necessary 185 obj->refcnt_chk (); // unborrow from perl, if necessary
186 186
187 if (obj->refcnt > 0 || obj->self) 187 //if (obj->refcnt > 0 || obj->self)
188 if (obj->refcnt || obj->self)
188 { 189 {
189//printf ("%p rc %d\n", obj, obj->refcnt_cnt ());//D 190//printf ("%p rc %d\n", obj, obj->refcnt_cnt ());//D
190 ++i; // further delay freeing 191 ++i; // further delay freeing
191 192
192 if (!(i & 0x3ff)) 193 if (!(i & 0x3ff))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines