diff options
author | Torbjörn Andersson | 2003-12-17 08:01:59 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-12-17 08:01:59 +0000 |
commit | 8b12be81e52334a1267469052ad61061e6a5e087 (patch) | |
tree | d7167022b9567d88a628a129d1101d81583be2cf /sword2/resman.cpp | |
parent | 5fdff2824c7cf45edb0dc2fb6f0bdbe150e3a20f (diff) | |
download | scummvm-rg350-8b12be81e52334a1267469052ad61061e6a5e087.tar.gz scummvm-rg350-8b12be81e52334a1267469052ad61061e6a5e087.tar.bz2 scummvm-rg350-8b12be81e52334a1267469052ad61061e6a5e087.zip |
cleanup
svn-id: r11704
Diffstat (limited to 'sword2/resman.cpp')
-rw-r--r-- | sword2/resman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp index ef5f852be6..4fd1dd5478 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -330,7 +330,7 @@ void convertEndian(uint8 *file, uint32 len) { SWAP32(walkGridHeader->numBars); SWAP32(walkGridHeader->numNodes); - _barData *barData = (_barData *) (file + sizeof(_walkGridHeader)); + BarData *barData = (BarData *) (file + sizeof(_walkGridHeader)); for (i = 0; i < walkGridHeader->numBars; i++) { SWAP16(barData->x1); SWAP16(barData->y1); @@ -346,7 +346,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++; |