diff options
Diffstat (limited to 'engines/kyra/staticres.cpp')
-rw-r--r-- | engines/kyra/staticres.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index 3e510f552f..ce1e54ea48 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -144,7 +144,7 @@ bool StaticResource::loadStaticResourceFile() { bool foundWorkingKyraDat = false; for (Common::ArchiveMemberList::iterator i = kyraDatFiles.begin(); i != kyraDatFiles.end(); ++i) { - Common::SeekableReadStream *file = (*i)->open(); + Common::SeekableReadStream *file = (*i)->createReadStream(); if (!checkKyraDat(file)) { delete file; continue; |