From 8b12be81e52334a1267469052ad61061e6a5e087 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 17 Dec 2003 08:01:59 +0000 Subject: cleanup svn-id: r11704 --- sword2/resman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sword2/resman.cpp') 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++; -- cgit v1.2.3