From 1d87cdb497dd7b7fab4933ec7748cccfce78b406 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 2 Apr 2005 17:26:18 +0000 Subject: _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 --- scumm/smush/chunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/smush') diff --git a/scumm/smush/chunk.cpp b/scumm/smush/chunk.cpp index 0ae3e7c61c..bd954e1eae 100644 --- a/scumm/smush/chunk.cpp +++ b/scumm/smush/chunk.cpp @@ -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(); -- cgit v1.2.3