diff options
Diffstat (limited to 'scumm/script_v72he.cpp')
| -rw-r--r-- | scumm/script_v72he.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 6894abc0d8..096b3cda4b 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1536,16 +1536,13 @@ void ScummEngine_v72he::o72_openFile() { // HACK Correct incorrect filenames if (!strcmp((char *)filename,".he3")) { + // For freddicove (Unencrypted) 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")) { - 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)); sprintf((char *)filename, "%s.he9", _gameName.c_str()); debug(0,"New filename %s", filename); |
