From 230a68755e40408d84d90e9e3ac6d6fbd94b9ca7 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 12 Mar 2006 10:56:14 +0000 Subject: Unfortunately the workaround for Macintosh version of water is still required. svn-id: r21231 --- engines/scumm/he/script_v72he.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp index 105ff8cb6b..633b8d6966 100644 --- a/engines/scumm/he/script_v72he.cpp +++ b/engines/scumm/he/script_v72he.cpp @@ -1759,6 +1759,13 @@ void ScummEngine_v72he::o72_openFile() { debug(1,"Original filename %s", filename); + // WORKAROUND: For filename difference in Macintosh version of water. + // Uses HE7 filename of 'Water (7)' instead of 'Water Worries (7)'. + if (_game.id == GID_WATER && _game.heversion == 99 && _game.platform == Common::kPlatformMacintosh && + !strcmp((char *)filename, "Water Worries (7)")) { + strcpy((char *)filename, "Water (7)"); + } + int r = convertFilePath(filename); debug(1,"Final filename to %s", filename + r); -- cgit v1.2.3