aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-03-12 10:56:14 +0000
committerTravis Howell2006-03-12 10:56:14 +0000
commit230a68755e40408d84d90e9e3ac6d6fbd94b9ca7 (patch)
tree4d2b4f2bd1884edeaaf98d532d20192540ed0965
parentd57e2e88c051bea3d79b38f2a47cdacaf99e8c55 (diff)
downloadscummvm-rg350-230a68755e40408d84d90e9e3ac6d6fbd94b9ca7.tar.gz
scummvm-rg350-230a68755e40408d84d90e9e3ac6d6fbd94b9ca7.tar.bz2
scummvm-rg350-230a68755e40408d84d90e9e3ac6d6fbd94b9ca7.zip
Unfortunately the workaround for Macintosh version of water is still required.
svn-id: r21231
-rw-r--r--engines/scumm/he/script_v72he.cpp7
1 files changed, 7 insertions, 0 deletions
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);