diff options
-rw-r--r-- | scumm/script_v72he.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index d883af1469..a5d53a9aa9 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1760,15 +1760,6 @@ void ScummEngine_v72he::o72_openFile() { mode = pop(); copyScriptString(filename); - // The boot script in some HE games doen't set the - // complete data file name. So we work around that. - if (!strcmp((char *)filename,".he7")) { - memset(filename, 0, sizeof(filename)); - sprintf((char *)filename, "%s.he7", _gameName.c_str()); - } else if (!strcmp((char *)filename,".he3")) { - memset(filename, 0, sizeof(filename)); - sprintf((char *)filename, "%s.he3", _gameName.c_str()); - } debug(1,"File %s", filename); |