[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.26,1.27
James Brown
ender at users.sourceforge.net
Sun Nov 10 05:00:03 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv9469/scumm
Modified Files:
actor.cpp
Log Message:
Hack to prevent decapitation :)
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- actor.cpp 9 Nov 2002 10:05:43 -0000 1.26
+++ actor.cpp 10 Nov 2002 12:59:36 -0000 1.27
@@ -456,6 +456,13 @@
break;
}
+ // FIXME: This is a hack to fix decapitation, which somehow occurs only on
+ // the standFrame (CHORE mode 3). We hack around this by simply using the
+ // initFrame instead. As far as it goes, I see no difference. Apart from
+ // keeping my lovely head intact.
+ if (f == 3 && _vm->_gameId == GID_INDY3_256)
+ f = initFrame;
+
if (isInCurrentRoom() && costume) {
animProgress = 0;
cost.animCounter1 = 0;
More information about the Scummvm-git-logs
mailing list