[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.312,2.313

kirben kirben at users.sourceforge.net
Tue Oct 25 23:49:04 CEST 2005


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

Modified Files:
	script_v72he.cpp 
Log Message:

Limit to Macintosh versions, otherwise filenames in PC versions get scrambled.


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.312
retrieving revision 2.313
diff -u -d -r2.312 -r2.313
--- script_v72he.cpp	21 Oct 2005 12:06:03 -0000	2.312
+++ script_v72he.cpp	26 Oct 2005 06:48:07 -0000	2.313
@@ -1759,7 +1759,7 @@
 	debug(0,"Original filename %s", filename);
 
 	// There are Macintosh specific versions of HE7.2 games.
-	if (_heversion >= 80 && _substResFileNameIndex > 0) {
+	if (_heversion >= 80 && _platform == Common::kPlatformMacintosh) {
 		char buf1[128];
 		buf1[0] = '\0';
 		generateSubstResFileName((char *)filename, buf1, sizeof(buf1));





More information about the Scummvm-git-logs mailing list