aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));