mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Copy second and third triangles, this was forgotten
This commit is contained in:
parent
6413e770e1
commit
6b6adf1147
1 changed files with 2 additions and 0 deletions
|
@ -314,6 +314,8 @@ void TIKI_SwapSkel(skelHeader_t *pheader)
|
|||
pTriangles = (int *)((byte *)pSurf + LongNoSwapPtr(&pSurf->ofsTriangles));
|
||||
for (j = 0; j < numTriangles; j++) {
|
||||
CopyLittleLong(&pTriangles[j * 3 + 0], &pTriangles[j * 3 + 0]);
|
||||
CopyLittleLong(&pTriangles[j * 3 + 1], &pTriangles[j * 3 + 1]);
|
||||
CopyLittleLong(&pTriangles[j * 3 + 2], &pTriangles[j * 3 + 2]);
|
||||
}
|
||||
|
||||
if (pheader->version >= TIKI_SKD_HEADER_OLD_VERSION) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue