[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.211,2.212

kirben kirben at users.sourceforge.net
Wed Mar 2 21:11:00 CET 2005


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

Modified Files:
	script_v72he.cpp 
Log Message:

Need to adjust HE7 filename for mustard too.


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.211
retrieving revision 2.212
diff -u -d -r2.211 -r2.212
--- script_v72he.cpp	3 Mar 2005 03:06:30 -0000	2.211
+++ script_v72he.cpp	3 Mar 2005 05:09:39 -0000	2.212
@@ -1555,13 +1555,20 @@
 
 	debug(0,"Original filename %s", filename);
 
-	// HACK Correct incorrect filenames
+	// Original games read path & filenames from INI file
+	// We only need to add the required game name
 	if (!strcmp((char *)filename,".he3")) {
 		// For freddicove (Unencrypted and Updated Ru)
 		memset(filename, 0, sizeof(filename));
 		sprintf((char *)filename, "%s.he3", _gameName.c_str());
 		debug(0,"New filename %s", filename);
 
+	} else if (!strcmp((char *)filename,".he7")) {
+		// For mustard
+		memset(filename, 0, sizeof(filename));
+		sprintf((char *)filename, "%s.he7", _gameName.c_str());
+		debug(0,"New filename %s", filename);
+
 	} else if (!strcmp((char *)filename,".HE9")) {
 		// For bb2demo
 		memset(filename, 0, sizeof(filename));





More information about the Scummvm-git-logs mailing list