aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-02 17:26:18 +0000
committerTorbjörn Andersson2005-04-02 17:26:18 +0000
commit1d87cdb497dd7b7fab4933ec7748cccfce78b406 (patch)
tree56a9380f10596bafb51679c578669c03716a515b
parent7b88503437b83df8fc9cc59daba390bd8ed2f220 (diff)
downloadscummvm-rg350-1d87cdb497dd7b7fab4933ec7748cccfce78b406.tar.gz
scummvm-rg350-1d87cdb497dd7b7fab4933ec7748cccfce78b406.tar.bz2
scummvm-rg350-1d87cdb497dd7b7fab4933ec7748cccfce78b406.zip
_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
-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 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();