HACK no longer required.

svn-id: r17686
This commit is contained in:
Travis Howell 2005-04-19 10:16:12 +00:00
parent 414def8566
commit 6783d3e301

View File

@ -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];