[Scummvm-cvs-logs] CVS: scummex image.cpp,1.11,1.12

Adrien Mercier yoshizf at users.sourceforge.net
Mon Sep 22 23:45:05 CEST 2003


Update of /cvsroot/scummvm/scummex
In directory sc8-pr-cvs1:/tmp/cvs-serv8450

Modified Files:
	image.cpp 
Log Message:
Fixed v8 detection

Index: image.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummex/image.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- image.cpp	23 Sep 2003 00:47:23 -0000	1.11
+++ image.cpp	23 Sep 2003 06:44:43 -0000	1.12
@@ -113,9 +113,11 @@
 	width = _blockTable[RMHDindex].width;
 	height = _blockTable[RMHDindex].height;
 
-	if (newWindow == 0) {
-		if ( _resource->findBlock(0, _blockTable, id, "IMAG", NULL) != -1) {
+	if ( _resource->findBlock(0, _blockTable, id, "IMAG", NULL) != -1)
 			v8 = 1;
+			
+	if (newWindow == 0) {
+		if (v8) {
 			id = _resource->findBlock(1, _blockTable, id, "BOXD", NULL);
 		} else {
 			id = _resource->findBlock(0, _blockTable, id, "BOXD", NULL);





More information about the Scummvm-git-logs mailing list