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

Comparing deliantra/server/common/player.C (file contents):
Revision 1.67 by root, Sun Apr 11 00:34:05 2010 UTC vs.
Revision 1.68 by root, Thu Apr 15 04:18:09 2010 UTC

236 { 236 {
237 int count = f.get_sint32 (); 237 int count = f.get_sint32 ();
238 238
239 for (int i = 1; i <= count; i++) 239 for (int i = 1; i <= count; i++)
240 { 240 {
241 char line [32]; 241 f.next_line (); f.get (pl->levhp [i]);
242 242 f.next_line (); f.get (pl->levsp [i]);
243 fgets (line, 32, f); pl->levhp [i] = atoi (line); 243 f.next_line (); f.get (pl->levgrace[i]);
244 fgets (line, 32, f); pl->levsp [i] = atoi (line);
245 fgets (line, 32, f); pl->levgrace[i] = atoi (line);
246 } 244 }
247 } 245 }
248 break; 246 break;
249 } 247 }
250 248

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines