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

Comparing deliantra/server/common/treasure.C (file contents):
Revision 1.98 by root, Sun Nov 29 17:41:07 2009 UTC vs.
Revision 1.99 by root, Tue Jan 5 12:01:43 2010 UTC

1210 1210
1211 const char *cp = f.get_str (); 1211 const char *cp = f.get_str ();
1212 char *next; 1212 char *next;
1213 do 1213 do
1214 { 1214 {
1215 if ((next = strchr (cp, ','))) 1215 if ((next = (char *)strchr (cp, ',')))
1216 *next++ = '\0'; 1216 *next++ = '\0';
1217 1217
1218 linked_char *tmp = new linked_char; 1218 linked_char *tmp = new linked_char;
1219 1219
1220 tmp->name = cp; 1220 tmp->name = cp;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines