[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.307.2.3,2.307.2.4

kirben kirben at users.sourceforge.net
Tue Oct 25 23:48:54 CEST 2005


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

Modified Files:
      Tag: branch-0-8-0
	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.307.2.3
retrieving revision 2.307.2.4
diff -u -d -r2.307.2.3 -r2.307.2.4
--- script_v72he.cpp	21 Oct 2005 12:11:10 -0000	2.307.2.3
+++ script_v72he.cpp	26 Oct 2005 06:47:21 -0000	2.307.2.4
@@ -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];
 
 		generateSubstResFileName((char *)filename, buf1, sizeof(buf1));





More information about the Scummvm-git-logs mailing list