[Scummvm-cvs-logs] CVS: scummvm/scumm camera.cpp,2.13,2.14

Travis Howell kirben at users.sourceforge.net
Mon Oct 6 05:29:15 CEST 2003


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

Modified Files:
	camera.cpp 
Log Message:

Should not apply to loom/loomcd, they only use room scrolling at one point and this causes glitches.


Index: camera.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/camera.cpp,v
retrieving revision 2.13
retrieving revision 2.14
diff -u -d -r2.13 -r2.14
--- camera.cpp	3 Oct 2003 18:33:53 -0000	2.13
+++ camera.cpp	6 Oct 2003 12:28:52 -0000	2.14
@@ -339,7 +339,7 @@
 	virtscr[0].xstart = _screenStartStrip << 3;
 #endif
 
-	if (_charset->_hasMask && !(_version <= 3 && _gameId != GID_LOOM)) {
+	if (_charset->_hasMask && (_version >= 4 && _gameId != GID_LOOM256)) {
 		int dx = camera._cur.x - camera._last.x;
 		int dy = camera._cur.y - camera._last.y;
 		if (dx || dy) {





More information about the Scummvm-git-logs mailing list