[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.4,1.5

Max Horn fingolfin at users.sourceforge.net
Fri Sep 13 05:29:05 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv19851/scumm

Modified Files:
	actor.cpp 
Log Message:
this was broken recently

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- actor.cpp	1 Sep 2002 15:01:39 -0000	1.4
+++ actor.cpp	13 Sep 2002 12:28:53 -0000	1.5
@@ -366,8 +366,8 @@
 		if (resptr == NULL)
 			error("Scale table %d not defined", scale);
 		int theY = y;
-		if (theY >= (_vm->_realWidth / 2))
-			theY = (_vm->_realWidth / 2) - 1;
+		if (theY >= _vm->_realHeight)
+			theY = _vm->_realHeight - 1;
 		else if (theY < 0)
 			theY = 0;
 		scale = resptr[theY];





More information about the Scummvm-git-logs mailing list