aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/file
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-04 03:36:50 +0200
committerEinar Johan Trøan Sømåen2012-06-04 03:36:50 +0200
commit81e57690b2778e8f73134d0975cadda0f3fb9a79 (patch)
tree65a0b2766b5de5f6082f390761665d631b4f25e3 /engines/wintermute/Base/file
parent8add2f10e8c6575eed630dbc1163ed41554e2590 (diff)
downloadscummvm-rg350-81e57690b2778e8f73134d0975cadda0f3fb9a79.tar.gz
scummvm-rg350-81e57690b2778e8f73134d0975cadda0f3fb9a79.tar.bz2
scummvm-rg350-81e57690b2778e8f73134d0975cadda0f3fb9a79.zip
WINTERMUTE: Make BDiskFile reset it's files after testing for compression.
Diffstat (limited to 'engines/wintermute/Base/file')
-rw-r--r--engines/wintermute/Base/file/BDiskFile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wintermute/Base/file/BDiskFile.cpp b/engines/wintermute/Base/file/BDiskFile.cpp
index 57e9a0a0f0..ce6a6a100c 100644
--- a/engines/wintermute/Base/file/BDiskFile.cpp
+++ b/engines/wintermute/Base/file/BDiskFile.cpp
@@ -118,6 +118,7 @@ Common::SeekableReadStream *openDiskFile(const Common::String &Filename, CBFileM
delete file;
file = NULL;
} else {
+ file->seek(0, SEEK_SET);
return file;
}