[Scummvm-cvs-logs] CVS: scummvm/sword1 logic.cpp,1.12,1.13
Robert G?ffringmann
lavosspawn at users.sourceforge.net
Thu Dec 18 06:19:39 CET 2003
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1:/tmp/cvs-serv16899/sword1
Modified Files:
logic.cpp
Log Message:
fixed endian bug in animDriver()
Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/logic.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- logic.cpp 18 Dec 2003 12:45:40 -0000 1.12
+++ logic.cpp 18 Dec 2003 14:16:08 -0000 1.13
@@ -360,8 +360,8 @@
AnimUnit *animPtr = (AnimUnit*)(data + 4 + compact->o_anim_pc * sizeof(AnimUnit));
if (!(compact->o_status & STAT_SHRINK)) {
- compact->o_anim_x = animPtr->animX;
- compact->o_anim_y = animPtr->animY;
+ compact->o_anim_x = FROM_LE_32(animPtr->animX);
+ compact->o_anim_y = FROM_LE_32(animPtr->animY);
}
compact->o_frame = FROM_LE_32(animPtr->animFrame);
More information about the Scummvm-git-logs
mailing list