[Scummvm-cvs-logs] CVS: scummvm/scumm costume.cpp,1.111,1.112

Max Horn fingolfin at users.sourceforge.net
Tue Aug 26 08:50:09 CEST 2003


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

Modified Files:
	costume.cpp 
Log Message:
check for costume format, not engine version

Index: costume.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/costume.cpp,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- costume.cpp	25 Aug 2003 13:13:43 -0000	1.111
+++ costume.cpp	25 Aug 2003 14:54:32 -0000	1.112
@@ -212,7 +212,7 @@
 		if (!use_scaling)
 			skip = -v1.x;
 		if (skip > 0) {
-			if (!newAmiCost && _vm->_version > 1) {
+			if (!newAmiCost && _loaded._format != 0x57) {
 				v1.skip_width -= skip;
 				codec1_ignorePakCols(skip);
 				v1.x = 0;
@@ -229,7 +229,7 @@
 		if (!use_scaling)
 			skip = x_right - _vm->_screenWidth;
 		if (skip > 0) {
-			if (!newAmiCost && _vm->_version > 1) {
+			if (!newAmiCost && _loaded._format != 0x57) {
 				v1.skip_width -= skip;
 				codec1_ignorePakCols(skip);
 				v1.x = _vm->_screenWidth - 1;





More information about the Scummvm-git-logs mailing list