diff options
author | Einar Johan Trøan Sømåen | 2012-06-04 03:36:50 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-04 03:36:50 +0200 |
commit | 81e57690b2778e8f73134d0975cadda0f3fb9a79 (patch) | |
tree | 65a0b2766b5de5f6082f390761665d631b4f25e3 /engines/wintermute/Base/file | |
parent | 8add2f10e8c6575eed630dbc1163ed41554e2590 (diff) | |
download | scummvm-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.cpp | 1 |
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;
}
|