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

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.93 by root, Wed Sep 16 22:50:50 2009 UTC vs.
Revision 1.94 by root, Wed Sep 16 23:22:50 2009 UTC

1209 // unless the object has a custom message 1209 // unless the object has a custom message
1210 buf << '\r' << inv->msg << '\n'; 1210 buf << '\r' << inv->msg << '\n';
1211 1211
1212 buf << '\n'; 1212 buf << '\n';
1213 1213
1214 /* the dungeon master additionally gets a complete dump */
1215 if (who && who->flag [FLAG_WIZ])
1216 {
1217 char *ob = dump_object (this);
1218 for (char *p = ob; *p; ++p) if (*p == '\n') *p = '\r';
1219 buf << "\n" << ob << "\n";
1220
1221 ob = dump_object (arch);
1222 for (char *p = ob; *p; ++p) if (*p == '\n') *p = '\r';
1223 buf << "\n" << ob << "\n";
1224 }
1225
1214 return std::string (buf.linearise (), buf.size ()); 1226 return std::string (buf.linearise (), buf.size ());
1215} 1227}
1216 1228
1217static void 1229static void
1218display_new_pickup (object *op) 1230display_new_pickup (object *op)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines