diff options
author | Travis Howell | 2005-03-03 05:09:39 +0000 |
---|---|---|
committer | Travis Howell | 2005-03-03 05:09:39 +0000 |
commit | 958d68e8937e5e9e08e61dec9a2955c4e3de68c6 (patch) | |
tree | b701ade15da43feb53ba79cb08f9ddd25338f9d4 /scumm | |
parent | ac493b31db8c3e2181141191d10962c38ce957e8 (diff) | |
download | scummvm-rg350-958d68e8937e5e9e08e61dec9a2955c4e3de68c6.tar.gz scummvm-rg350-958d68e8937e5e9e08e61dec9a2955c4e3de68c6.tar.bz2 scummvm-rg350-958d68e8937e5e9e08e61dec9a2955c4e3de68c6.zip |
Need to adjust HE7 filename for mustard too.
svn-id: r16982
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v72he.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 0170fdc5d5..a2ae0eb4db 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1555,13 +1555,20 @@ void ScummEngine_v72he::o72_openFile() { debug(0,"Original filename %s", filename); - // HACK Correct incorrect filenames + // Original games read path & filenames from INI file + // We only need to add the required game name if (!strcmp((char *)filename,".he3")) { // For freddicove (Unencrypted and Updated Ru) memset(filename, 0, sizeof(filename)); sprintf((char *)filename, "%s.he3", _gameName.c_str()); debug(0,"New filename %s", filename); + } else if (!strcmp((char *)filename,".he7")) { + // For mustard + memset(filename, 0, sizeof(filename)); + sprintf((char *)filename, "%s.he7", _gameName.c_str()); + debug(0,"New filename %s", filename); + } else if (!strcmp((char *)filename,".HE9")) { // For bb2demo memset(filename, 0, sizeof(filename)); |