From 4c50afea573c921fda973c0c376556a1c4d7bd41 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 1 Apr 2005 22:36:45 +0000 Subject: Seek from start pos, not cur pos. svn-id: r17330 --- 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 bd954e1eae..0ae3e7c61c 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); + _data.seek(offset, seek_start); _type = _data.readUint32BE(); _size = _data.readUint32BE(); _offset = _data.pos(); -- cgit v1.2.3