diff options
author | Travis Howell | 2004-10-23 13:49:58 +0000 |
---|---|---|
committer | Travis Howell | 2004-10-23 13:49:58 +0000 |
commit | e14b69d18d1c0f6f9c613eb163f2767e4293aa92 (patch) | |
tree | 81735ef79547fa907ed9e1c5667a41e1f2136761 /scumm | |
parent | 3fe42cf7efc5a24d1d619c5e4796e4269919183e (diff) | |
download | scummvm-rg350-e14b69d18d1c0f6f9c613eb163f2767e4293aa92.tar.gz scummvm-rg350-e14b69d18d1c0f6f9c613eb163f2767e4293aa92.tar.bz2 scummvm-rg350-e14b69d18d1c0f6f9c613eb163f2767e4293aa92.zip |
Still needed for RU freddicove
svn-id: r15667
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v72he.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index c3ffda90d9..3e0d61af12 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -2064,7 +2064,10 @@ void ScummEngine_v72he::o72_openFile() { copyScriptString(filename); // HACK Correct incorrect filenames - if (!strcmp((char *)filename,".he7")) { + if (!strcmp((char *)filename,".he3")) { + memset(filename, 0, sizeof(filename)); + sprintf((char *)filename, "%s.he3", _gameName.c_str()); + } else if (!strcmp((char *)filename,".he7")) { memset(filename, 0, sizeof(filename)); sprintf((char *)filename, "%s.he7", _gameName.c_str()); } else if (!strcmp((char *)filename,".HE9")) { |