[Scummvm-cvs-logs] CVS: scummvm/sword1 screen.cpp,1.8,1.9
Robert G?ffringmann
lavosspawn at users.sourceforge.net
Wed Dec 17 16:37:02 CET 2003
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1:/tmp/cvs-serv25646/sword1
Modified Files:
screen.cpp
Log Message:
one more big endian fix
Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/screen.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- screen.cpp 17 Dec 2003 07:33:00 -0000 1.8
+++ screen.cpp 18 Dec 2003 00:36:42 -0000 1.9
@@ -565,7 +565,7 @@
if (!(cpt->o_status & STAT_SHRINK)) { // not a boxed mega using shrinking
Header *frameRaw = (Header*)_resMan->openFetchRes(cpt->o_resource);
FrameHeader *frameHead = _resMan->fetchFrame(frameRaw, cpt->o_frame);
- _sortList[_sortLength].y += frameHead->height - 1; // now pointing to base of sprite
+ _sortList[_sortLength].y += FROM_LE_16(frameHead->height) - 1; // now pointing to base of sprite
_resMan->resClose(cpt->o_resource);
}
_sortLength++;
More information about the Scummvm-git-logs
mailing list