ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/object.C
(Generate patch)

Comparing deliantra/server/common/object.C (file contents):
Revision 1.241 by root, Wed May 7 19:19:09 2008 UTC vs.
Revision 1.242 by elmex, Wed May 7 21:00:02 2008 UTC

2417{ 2417{
2418 char flagdesc[512]; 2418 char flagdesc[512];
2419 char info2[256 * 4]; 2419 char info2[256 * 4];
2420 char *p = info; 2420 char *p = info;
2421 2421
2422 p += snprintf (p, 512, "{cnt:%d,uuid:%s,name:\"%s\"%s%s,flags:[%s],type:%d}", 2422 p += snprintf (p, 512, "{cnt:%d,uuid:%s,name:\"%s\"%s%s%s,flags:[%s],type:%d}",
2423 count, 2423 count,
2424 uuid.c_str (), 2424 uuid.c_str (),
2425 &name, 2425 &name,
2426 title ? "\",title:\"" : "", 2426 title ? ",title:\"" : "",
2427 title ? (const char *)title : "", 2427 title ? (const char *)title : "",
2428 title ? "\"" : "",
2428 flag_desc (flagdesc, 512), type); 2429 flag_desc (flagdesc, 512), type);
2429 2430
2430 if (!flag[FLAG_REMOVED] && env) 2431 if (!flag[FLAG_REMOVED] && env)
2431 p += snprintf (p, 256, "(in %s)", env->debug_desc (info2)); 2432 p += snprintf (p, 256, "(in %s)", env->debug_desc (info2));
2432 2433

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines