[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.182,2.183

Travis Howell kirben at users.sourceforge.net
Sat Oct 23 06:51:03 CEST 2004


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

Modified Files:
	script_v72he.cpp 
Log Message:

Still needed for RU freddicove


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.182
retrieving revision 2.183
diff -u -d -r2.182 -r2.183
--- script_v72he.cpp	19 Oct 2004 12:30:41 -0000	2.182
+++ script_v72he.cpp	23 Oct 2004 13:49:58 -0000	2.183
@@ -2064,7 +2064,10 @@
 	copyScriptString(filename);
 
 	// HACK Correct incorrect filenames
-	if (!strcmp((char *)filename,".he7")) {
+	if (!strcmp((char *)filename,".he3")) {
+		memset(filename, 0, sizeof(filename));
+		sprintf((char *)filename, "%s.he3", _gameName.c_str());
+	} else if (!strcmp((char *)filename,".he7")) {
 		memset(filename, 0, sizeof(filename));
 		sprintf((char *)filename, "%s.he7", _gameName.c_str());
 	} else if (!strcmp((char *)filename,".HE9")) {





More information about the Scummvm-git-logs mailing list