[Scummvm-cvs-logs] CVS: scummvm/sword2 resman.cpp,1.84,1.85
Oliver Kiehl
olki at users.sourceforge.net
Mon Jan 12 12:05:01 CET 2004
Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv5816
Modified Files:
resman.cpp
Log Message:
fixed bug that was causing lots of havoc on BE machines. Thanks eriktorbjorn
Index: resman.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/resman.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- resman.cpp 11 Jan 2004 16:49:18 -0000 1.84
+++ resman.cpp 12 Jan 2004 20:04:22 -0000 1.85
@@ -348,7 +348,7 @@
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++;
More information about the Scummvm-git-logs
mailing list