aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-04-19 10:16:12 +0000
committerTravis Howell2005-04-19 10:16:12 +0000
commit6783d3e3010a517ff8e7d6b0585b042097bf3066 (patch)
tree742ffc27e0b6d9bf05151bec58ed510132e45c8b /scumm
parent414def8566671f0345ac5c8f70aae02b6382bd04 (diff)
downloadscummvm-rg350-6783d3e3010a517ff8e7d6b0585b042097bf3066.tar.gz
scummvm-rg350-6783d3e3010a517ff8e7d6b0585b042097bf3066.tar.bz2
scummvm-rg350-6783d3e3010a517ff8e7d6b0585b042097bf3066.zip
HACK no longer required.
svn-id: r17686
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v72he.cpp16
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];