Fingolfin, now I am really disappointed with you that you didn't see this bug... ;)

svn-id: r10252
This commit is contained in:
Oliver Kiehl 2003-09-14 15:07:39 +00:00
parent c902282a05
commit fd7727e9d2

View File

@ -408,8 +408,10 @@ static void convertEndian(uint8 *file, uint32 len) {
}
uint16 *node = (uint16 *) (file + sizeof(_walkGridHeader) + walkGridHeader->numBars * sizeof(_barData));
for (i = 0; i < walkGridHeader->numNodes*2; i++)
*node = SWAP_BYTES_16(*node++);
for (i = 0; i < walkGridHeader->numNodes*2; i++) {
SWAP16(*node);
node++;
}
break;
}