mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
Improve match
This commit is contained in:
parent
5bb9658cac
commit
0e67d9d9b6
@ -79,7 +79,7 @@ inline Result CreateMesh(
|
||||
rpMesh->groupMesh = pD3DRM;
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
if (*((unsigned char*) ((unsigned short*) &faceIndices[i] + 1) + 1) & 0x80) {
|
||||
if ((*((unsigned short*) &faceIndices[i] + 1) >> 0x0f) & 0x01) {
|
||||
unsigned long j = *(unsigned short*) &faceIndices[i];
|
||||
vertices[index].position.x = pPositions[j][0];
|
||||
vertices[index].position.y = pPositions[j][1];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user