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

Comparing deliantra/server/common/image.C (file contents):
Revision 1.14 by root, Fri Feb 2 22:49:11 2007 UTC vs.
Revision 1.15 by root, Mon Feb 5 02:17:28 2007 UTC

296 new_faces[i].name = ""; 296 new_faces[i].name = "";
297 new_faces[i].number = i; 297 new_faces[i].number = i;
298 new_faces[i].visibility = 0; 298 new_faces[i].visibility = 0;
299 new_faces[i].magicmap = 255; 299 new_faces[i].magicmap = 255;
300 } 300 }
301
301 for (i = 0; i < nroffiles; i++) 302 for (i = 0; i < nroffiles; i++)
302 {
303 new_faces[xbm[i].number].name = xbm[i].name; 303 new_faces[xbm[i].number].name = xbm[i].name;
304 }
305 304
306 // non-pod datatype, likely not allowed 305 // non-pod datatype, likely not allowed
307 qsort (xbm, nroffiles, sizeof (struct bmappair), (int (*)(const void *, const void *)) compar); 306 qsort (xbm, nroffiles, sizeof (struct bmappair), (int (*)(const void *, const void *)) compar);
308 307
309 ReadFaceData (); 308 ReadFaceData ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines