_data is a ScummFile, not a chunk, so it should use SEEK_SET, not

seek_start. And since SEEK_SET is the default seek mode, it doesn't make
any difference anyway.

svn-id: r17338
This commit is contained in:
Torbjörn Andersson 2005-04-02 17:26:18 +00:00
parent 7b88503437
commit 1d87cdb497

View File

@ -156,7 +156,7 @@ uint32 FileChunk::getDword() {
}
void FileChunk::reinit(uint32 offset) {
_data.seek(offset, seek_start);
_data.seek(offset);
_type = _data.readUint32BE();
_size = _data.readUint32BE();
_offset = _data.pos();