aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/dataio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/dataio.cpp')
-rw-r--r--engines/gob/dataio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/dataio.cpp b/engines/gob/dataio.cpp
index 1633a1edb7..2071c0f1be 100644
--- a/engines/gob/dataio.cpp
+++ b/engines/gob/dataio.cpp
@@ -414,7 +414,7 @@ Common::SeekableReadStream *DataIO::getFile(File &file) {
return 0;
Common::SeekableReadStream *rawData =
- new Common::SafeSubReadStream(&file.archive->file, file.offset, file.offset + file.size);
+ new Common::SafeSeekableSubReadStream(&file.archive->file, file.offset, file.offset + file.size);
if (file.compression == 0)
return rawData;