aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2008-10-13 10:26:26 +0000
committerMax Horn2008-10-13 10:26:26 +0000
commit4686615edfe83a3f161828968404fcdb23b346a1 (patch)
tree9b03b1116c4faeb7061939a631965806e2ad935f /engines
parent70091a6484351d108e08129bd244b5e11f2cd3b7 (diff)
downloadscummvm-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
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/he/resource_he.cpp3
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());
}