aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-04-01 22:36:45 +0000
committerTravis Howell2005-04-01 22:36:45 +0000
commit4c50afea573c921fda973c0c376556a1c4d7bd41 (patch)
tree4be9dd380967437e9ff367357e21a5ecc82188ea
parent58731633a50d8b92ef698de2fc2c99c76f022737 (diff)
downloadscummvm-rg350-4c50afea573c921fda973c0c376556a1c4d7bd41.tar.gz
scummvm-rg350-4c50afea573c921fda973c0c376556a1c4d7bd41.tar.bz2
scummvm-rg350-4c50afea573c921fda973c0c376556a1c4d7bd41.zip
Seek from start pos, not cur pos.
svn-id: r17330
-rw-r--r--scumm/smush/chunk.cpp2
1 files changed, 1 insertions, 1 deletions
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();