diff options
Diffstat (limited to 'common/archive.cpp')
-rw-r--r-- | common/archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/archive.cpp b/common/archive.cpp index d9d0a0a1d8..1a78f4629a 100644 --- a/common/archive.cpp +++ b/common/archive.cpp @@ -150,7 +150,7 @@ SeekableReadStream *FSDirectory::openFile(const String &name) { return 0; } - SeekableReadStream *stream = node.openForReading(); + SeekableReadStream *stream = node.createReadStream(); if (!stream) warning("FSDirectory::openFile: Can't create stream for file '%s'", name.c_str()); |