mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +00:00
Fix endian issue in MDR loading.
This commit is contained in:
parent
6c95eb7991
commit
5568c9fcad
1 changed files with 3 additions and 3 deletions
|
@ -652,9 +652,9 @@ static qboolean R_LoadMDR( model_t *mod, void *buffer, int filesize, const char
|
||||||
|
|
||||||
for(j = 0; j < surf->numTriangles; j++)
|
for(j = 0; j < surf->numTriangles; j++)
|
||||||
{
|
{
|
||||||
tri->indexes[0] = curtri->indexes[0];
|
tri->indexes[0] = LittleLong(curtri->indexes[0]);
|
||||||
tri->indexes[1] = curtri->indexes[1];
|
tri->indexes[1] = LittleLong(curtri->indexes[1]);
|
||||||
tri->indexes[2] = curtri->indexes[2];
|
tri->indexes[2] = LittleLong(curtri->indexes[2]);
|
||||||
|
|
||||||
tri++;
|
tri++;
|
||||||
curtri++;
|
curtri++;
|
||||||
|
|
Loading…
Reference in a new issue