diff options
-rw-r--r-- | sword2/resman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp index ee0162aa98..8c3265cf7f 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -348,7 +348,7 @@ void convertEndian(uint8 *file, uint32 len) { barData++; } - uint16 *node = (uint16 *) (file + sizeof(WalkGridHeader) + walkGridHeader->numBars * sizeof(barData)); + uint16 *node = (uint16 *) (file + sizeof(WalkGridHeader) + walkGridHeader->numBars * sizeof(BarData)); for (i = 0; i < walkGridHeader->numNodes * 2; i++) { SWAP16(*node); node++; |