[Scummvm-cvs-logs] CVS: scummvm/scumm/smush smush_player.cpp,1.111.2.2,1.111.2.3

Travis Howell kirben at users.sourceforge.net
Tue May 4 08:01:01 CEST 2004


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

Modified Files:
      Tag: branch-0-6-0
	smush_player.cpp 
Log Message:

Fix insane regression


Index: smush_player.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_player.cpp,v
retrieving revision 1.111.2.2
retrieving revision 1.111.2.3
diff -u -d -r1.111.2.2 -r1.111.2.3
--- smush_player.cpp	22 Apr 2004 12:27:22 -0000	1.111.2.2
+++ smush_player.cpp	4 May 2004 14:59:36 -0000	1.111.2.3
@@ -702,8 +702,14 @@
 		_alreadyInit = true;
 	}
 
-	_width = width;
-	_height = height;
+	if ((height == 242) && (width == 384)) {
+		_width = width;
+		_height = height;
+	} else {
+		_width = _vm->_screenWidth;
+		_height = _vm->_screenHeight;
+	}
+
 	b.getWord();
 	b.getWord();
 





More information about the Scummvm-git-logs mailing list