aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2006-10-28 01:21:13 +0000
committerMax Horn2006-10-28 01:21:13 +0000
commita3bc66bcbd15fa6532b6f502cde42e06fbbb1a6a (patch)
treeb126cf3a1f7d509abc325e7e27730e7cde49812a /engines
parent9698d133a6b4559b7dbc1b1ec5cd8b6198e22466 (diff)
downloadscummvm-rg350-a3bc66bcbd15fa6532b6f502cde42e06fbbb1a6a.tar.gz
scummvm-rg350-a3bc66bcbd15fa6532b6f502cde42e06fbbb1a6a.tar.bz2
scummvm-rg350-a3bc66bcbd15fa6532b6f502cde42e06fbbb1a6a.zip
SCUMM: Fix what I believe is a long-standing bug in FileChunk::reseek()
svn-id: r24545
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/smush/chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/smush/chunk.cpp b/engines/scumm/smush/chunk.cpp
index e70018b6f7..72d14c9776 100644
--- a/engines/scumm/smush/chunk.cpp
+++ b/engines/scumm/smush/chunk.cpp
@@ -121,7 +121,7 @@ Chunk *FileChunk::subBlock() {
}
void FileChunk::reseek() {
- _data->seek(_offset + _curPos, SEEK_CUR);
+ _data->seek(_offset + _curPos, SEEK_SET);
}
uint32 FileChunk::read(void *buffer, uint32 dataSize) {