diff options
author | Max Horn | 2008-10-14 19:39:33 +0000 |
---|---|---|
committer | Max Horn | 2008-10-14 19:39:33 +0000 |
commit | 61b04725a1858d59bab48f95120c91129eaa7fc1 (patch) | |
tree | 92ef96a92d39861437ab8c8e5ff227248014fe3d | |
parent | cda308678275bf145cfe40e69ed7870f2c3136bd (diff) | |
download | scummvm-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
-rw-r--r-- | engines/scumm/he/script_v60he.cpp | 3 |
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: |