From 6783d3e3010a517ff8e7d6b0585b042097bf3066 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 19 Apr 2005 10:16:12 +0000 Subject: HACK no longer required. svn-id: r17686 --- scumm/script_v72he.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'scumm/script_v72he.cpp') 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]; -- cgit v1.2.3