From b81b771d1542a476f0372a761d1c6acda6a54ae5 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 26 Oct 2005 06:48:07 +0000 Subject: Limit to Macintosh versions, otherwise filenames in PC versions get scrambled. svn-id: r19306 --- scumm/script_v72he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index ee5c4397d5..7dde51608c 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1759,7 +1759,7 @@ void ScummEngine_v72he::o72_openFile() { 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)); -- cgit v1.2.3