aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-10-26 06:48:07 +0000
committerTravis Howell2005-10-26 06:48:07 +0000
commitb81b771d1542a476f0372a761d1c6acda6a54ae5 (patch)
treec06063aead0e8382582c685d6e368997e7f5921f /scumm
parent70ea15410d5848238c2412cb7c2cf29eb3d42520 (diff)
downloadscummvm-rg350-b81b771d1542a476f0372a761d1c6acda6a54ae5.tar.gz
scummvm-rg350-b81b771d1542a476f0372a761d1c6acda6a54ae5.tar.bz2
scummvm-rg350-b81b771d1542a476f0372a761d1c6acda6a54ae5.zip
Limit to Macintosh versions, otherwise filenames in PC versions get scrambled.
svn-id: r19306
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v72he.cpp2
1 files changed, 1 insertions, 1 deletions
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));