diff options
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index a60ed8abe5..0b8f32fe60 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1670,7 +1670,7 @@ void ScummEngine_v72he::o72_jumpToScript() { } void ScummEngine_v72he::o72_openFile() { - int mode, slot, len, i, j; + int mode, slot, len, i; byte filename[256]; mode = pop(); @@ -1678,20 +1678,6 @@ void ScummEngine_v72he::o72_openFile() { debug(0,"Original filename %s", filename); - // HACK: Convert paths in lost/smaller - if (filename[0] == ':') { - len = resStrLen(filename) + 1; - j = 0; - for (i = 1; i < len; i++) { - if (filename[i] == ':') - filename[j++] = '/'; - else - filename[j++] = filename[i]; - } - filename[j] = 0; - debug(0,"Converted filename to %s", filename); - } - if (_substResFileNameIndex > 0) { char buf1[128]; |