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

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Fri Jul 9 00:07:04 CEST 2004


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

Modified Files:
	akos.cpp 
Log Message:
Don't allow codec 1 to skip columns when _scaleX is 255. This is consistent
with how we do it in costume.cpp, and it fixes a graphics glitch in the CMI
banjo duel for me.


Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- akos.cpp	1 Jul 2004 11:22:38 -0000	1.134
+++ akos.cpp	9 Jul 2004 07:06:30 -0000	1.135
@@ -415,7 +415,7 @@
 
 				scaleytab = &v1.scaletable[v1.scaleYindex];
 
-				if (v1.scaletable[v1.scaleXindex] < _scaleX) {
+				if (_scaleX == 255 || v1.scaletable[v1.scaleXindex] < _scaleX) {
 					v1.x += v1.scaleXstep;
 					if (v1.x < 0 || v1.x >= _outwidth)
 						return;





More information about the Scummvm-git-logs mailing list