[Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.209,1.210

Eugene Sandulenko sev at users.sourceforge.net
Sat Jun 5 19:37:03 CEST 2004


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

Modified Files:
	resource.cpp 
Log Message:
oops. Fix resource loading for 6.x games


Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -d -r1.209 -r1.210
--- resource.cpp	6 Jun 2004 02:20:53 -0000	1.209
+++ resource.cpp	6 Jun 2004 02:36:44 -0000	1.210
@@ -505,10 +505,13 @@
 		for (i = 0; i < num; i++) {
 			res.roomoffs[id][i] = _fileHandle.readUint32LE();
 		}
-		// FIXME: these are related to globs
 
-		//_fileHandle.read(_globSize, num);
-		_fileHandle.seek(4 * num, SEEK_CUR);
+		if (_heversion >= 70) {
+			// FIXME: these are related to globs
+
+			//_fileHandle.read(_globSize, num);
+			_fileHandle.seek(4 * num, SEEK_CUR);
+		}
 	}
 }
 





More information about the Scummvm-git-logs mailing list