From 4686615edfe83a3f161828968404fcdb23b346a1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 13 Oct 2008 10:26:26 +0000 Subject: Fix for bug #2162342: FREDDI1: Game does not start svn-id: r34793 --- engines/scumm/he/resource_he.cpp | 3 +-- 1 file changed, 1 insertion(+), 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()); } -- cgit v1.2.3