[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.134,1.135

Max Horn fingolfin at users.sourceforge.net
Wed Jul 2 07:47:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv31068

Modified Files:
	actor.cpp 
Log Message:
fix for bug #753840 (actor placement in V2 games)

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- actor.cpp	2 Jul 2003 13:47:02 -0000	1.134
+++ actor.cpp	2 Jul 2003 14:23:45 -0000	1.135
@@ -906,6 +906,10 @@
 
 	bcr->_actorX = x - _vm->virtscr[0].xstart;
 	bcr->_actorY = y - elevation;
+	if (_vm->_version <= 2) {
+		// We have to adjust the x position by one strip (8 pixels) in V2 games
+		bcr->_actorX += 8;
+	}
 	bcr->_scaleX = scalex;
 	bcr->_scaleY = scaley;
 





More information about the Scummvm-git-logs mailing list