diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/resource_he.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/he/resource_he.cpp b/engines/scumm/he/resource_he.cpp index 9858206209..a26d6fb72e 100644 --- a/engines/scumm/he/resource_he.cpp +++ b/engines/scumm/he/resource_he.cpp @@ -166,8 +166,7 @@ int Win32ResExtractor::extractResource_(const char *resType, char *resName, byte } /* get file size */ - Common::FSNode node(_fileName); - fi.file = node.openForReading(); + fi.file = SearchMan.openFile(_fileName); if (!fi.file) { error("Cannot open file %s", _fileName.c_str()); } |