More endian fixes, Q3 maps work on big endian machines now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1143 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2005-07-09 17:14:55 +00:00
parent 78390adbfa
commit c428a29469

View file

@ -2453,7 +2453,6 @@ void CModQ3_LoadRFaces (lump_t *l, qboolean useshaders)
{
out->plane = pl;
out->texinfo = loadmodel->texinfo + LittleLong(in->shadernum);
in->facetype = LittleLong(in->facetype);
out->lightmaptexturenum = LittleLong(in->lightmapnum);
out->light_s = LittleLong(in->lightmap_x);
out->light_t = LittleLong(in->lightmap_y);
@ -2847,8 +2846,8 @@ void CModQ3_LoadLeafs (lump_t *l)
{
for (j = 0; j < 3; j++)
{
out->minmaxs[0+j] = LittleFloat(in->mins[j]);
out->minmaxs[3+j] = LittleFloat(in->maxs[j]);
out->minmaxs[0+j] = LittleLong(in->mins[j]);
out->minmaxs[3+j] = LittleLong(in->maxs[j]);
}
out->cluster = LittleLong ( in->cluster );
out->area = LittleLong ( in->area ) + 1;