From e14b69d18d1c0f6f9c613eb163f2767e4293aa92 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 23 Oct 2004 13:49:58 +0000 Subject: [PATCH] Still needed for RU freddicove svn-id: r15667 --- scumm/script_v72he.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index c3ffda90d9b..3e0d61af121 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")) {