diff options
author | Oliver Kiehl | 2004-01-12 20:04:22 +0000 |
---|---|---|
committer | Oliver Kiehl | 2004-01-12 20:04:22 +0000 |
commit | d7944886451426818ac8d82a644a12596de9de70 (patch) | |
tree | 4c39d029a7a607f54717596f34bdb1f7fb85841b | |
parent | a60c66564b1a1a52f31769f9f24d9a8571468e24 (diff) | |
download | scummvm-rg350-d7944886451426818ac8d82a644a12596de9de70.tar.gz scummvm-rg350-d7944886451426818ac8d82a644a12596de9de70.tar.bz2 scummvm-rg350-d7944886451426818ac8d82a644a12596de9de70.zip |
fixed bug that was causing lots of havoc on BE machines. Thanks eriktorbjorn
svn-id: r12348
-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++; |