Fix swapping AAS bboxes

Found in RTCW SP.
This commit is contained in:
Zack Middleton 2017-02-27 18:18:15 -06:00
parent 313064baa4
commit cd41690fc3

View file

@ -61,8 +61,8 @@ void AAS_SwapAASData(void)
aasworld.bboxes[i].flags = LittleLong(aasworld.bboxes[i].flags);
for (j = 0; j < 3; j++)
{
aasworld.bboxes[i].mins[j] = LittleLong(aasworld.bboxes[i].mins[j]);
aasworld.bboxes[i].maxs[j] = LittleLong(aasworld.bboxes[i].maxs[j]);
aasworld.bboxes[i].mins[j] = LittleFloat(aasworld.bboxes[i].mins[j]);
aasworld.bboxes[i].maxs[j] = LittleFloat(aasworld.bboxes[i].maxs[j]);
} //end for
} //end for
//vertexes