diff options
author | Max Horn | 2008-10-13 10:26:26 +0000 |
---|---|---|
committer | Max Horn | 2008-10-13 10:26:26 +0000 |
commit | 4686615edfe83a3f161828968404fcdb23b346a1 (patch) | |
tree | 9b03b1116c4faeb7061939a631965806e2ad935f | |
parent | 70091a6484351d108e08129bd244b5e11f2cd3b7 (diff) | |
download | scummvm-rg350-4686615edfe83a3f161828968404fcdb23b346a1.tar.gz scummvm-rg350-4686615edfe83a3f161828968404fcdb23b346a1.tar.bz2 scummvm-rg350-4686615edfe83a3f161828968404fcdb23b346a1.zip |
Fix for bug #2162342: FREDDI1: Game does not start
svn-id: r34793
-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()); } |