[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.266,2.267

kirben kirben at users.sourceforge.net
Tue Apr 19 03:17:41 CEST 2005


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

Modified Files:
	script_v72he.cpp 
Log Message:

HACK no longer required.


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.266
retrieving revision 2.267
diff -u -d -r2.266 -r2.267
--- script_v72he.cpp	18 Apr 2005 11:44:01 -0000	2.266
+++ script_v72he.cpp	19 Apr 2005 10:16:12 -0000	2.267
@@ -1670,7 +1670,7 @@
 }
 
 void ScummEngine_v72he::o72_openFile() {
-	int mode, slot, len, i, j;
+	int mode, slot, len, i;
 	byte filename[256];
 
 	mode = pop();
@@ -1678,20 +1678,6 @@
 
 	debug(0,"Original filename %s", filename);
 
-	// HACK: Convert paths in lost/smaller
-	if (filename[0] == ':') {
-		len = resStrLen(filename) + 1;
-		j = 0;
-		for (i = 1; i < len; i++) {
-			if (filename[i] == ':')
-				filename[j++] = '/';
-			else
-				filename[j++] = filename[i];
-		}
-		filename[j] = 0;
-		debug(0,"Converted filename to %s", filename);
-	}
-
 	if (_substResFileNameIndex > 0) {
 		char buf1[128];
 





More information about the Scummvm-git-logs mailing list