[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.323,1.324

kirben kirben at users.sourceforge.net
Tue Mar 15 19:01:54 CET 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11191/scumm

Modified Files:
	actor.cpp 
Log Message:

Actor position fix for NES maniac, from Quietust


Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.323
retrieving revision 1.324
diff -u -d -r1.323 -r1.324
--- actor.cpp	15 Mar 2005 21:48:00 -0000	1.323
+++ actor.cpp	16 Mar 2005 03:01:12 -0000	1.324
@@ -1012,7 +1012,7 @@
 	bcr->_actorX = _pos.x + _offsX - _vm->virtscr[0].xstart;
 	bcr->_actorY = _pos.y + _offsY - _elevation;
 
-	if (_vm->_version <= 2) {
+	if ((_vm->_version <= 2) && !(_vm->_features & GF_NES)) {
 		// HACK: We have to adjust the x position by one strip (8 pixels) in
 		// V2 games. However, it is not quite clear to me why. And to fully
 		// match the original, it seems we have to offset by 2 strips if the





More information about the Scummvm-git-logs mailing list