aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v72he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-08 00:38:12 +0000
committerTravis Howell2005-04-08 00:38:12 +0000
commit59703e4a57e93858d1133702ed4261e74cb58c87 (patch)
tree0f21832493baad28330a790108ad2fe297b1e26c /scumm/script_v72he.cpp
parentba3077ed0e06f39dd27353f0e3a6c2c9ba05791d (diff)
downloadscummvm-rg350-59703e4a57e93858d1133702ed4261e74cb58c87.tar.gz
scummvm-rg350-59703e4a57e93858d1133702ed4261e74cb58c87.tar.bz2
scummvm-rg350-59703e4a57e93858d1133702ed4261e74cb58c87.zip
HE99+ games store the base name is array 129, which is set on startup.
svn-id: r17444
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r--scumm/script_v72he.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 79ae29e9c1..e110cba9f3 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -1672,28 +1672,6 @@ void ScummEngine_v72he::o72_openFile() {
debug(0,"Converted filename to %s", filename);
}
- // 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));
- sprintf((char *)filename, "%s.he9", _gameName.c_str());
- debug(0,"New filename %s", filename);
-
- }
-
if (_substResFileNameIndex > 0) {
char buf1[128];