aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v60he.cpp
diff options
context:
space:
mode:
authorMax Horn2008-10-14 19:39:33 +0000
committerMax Horn2008-10-14 19:39:33 +0000
commit61b04725a1858d59bab48f95120c91129eaa7fc1 (patch)
tree92ef96a92d39861437ab8c8e5ff227248014fe3d /engines/scumm/he/script_v60he.cpp
parentcda308678275bf145cfe40e69ed7870f2c3136bd (diff)
downloadscummvm-rg350-61b04725a1858d59bab48f95120c91129eaa7fc1.tar.gz
scummvm-rg350-61b04725a1858d59bab48f95120c91129eaa7fc1.tar.bz2
scummvm-rg350-61b04725a1858d59bab48f95120c91129eaa7fc1.zip
Another tweak to HE: Use SearchMan.openFile instead of a raw FSNode
svn-id: r34804
Diffstat (limited to 'engines/scumm/he/script_v60he.cpp')
-rw-r--r--engines/scumm/he/script_v60he.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/he/script_v60he.cpp b/engines/scumm/he/script_v60he.cpp
index f60bbdd84b..afe9f6b70b 100644
--- a/engines/scumm/he/script_v60he.cpp
+++ b/engines/scumm/he/script_v60he.cpp
@@ -1010,8 +1010,7 @@ void ScummEngine_v60he::o60_openFile() {
// TODO / FIXME: Consider using listSavefiles to avoid unneccessary openForLoading calls
_hInFileTable[slot] = _saveFileMan->openForLoading(filename);
if (_hInFileTable[slot] == 0) {
- Common::FSNode node(filename);
- _hInFileTable[slot] = node.openForReading();
+ _hInFileTable[slot] = SearchMan.openFile(filename);
}
break;
case 2: