aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/toltecs/movie.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/toltecs/movie.cpp b/engines/toltecs/movie.cpp
index d4e260dc0c..5f6fe2cac6 100644
--- a/engines/toltecs/movie.cpp
+++ b/engines/toltecs/movie.cpp
@@ -103,7 +103,6 @@ void MoviePlayer::playMovie(uint resIndex) {
byte chunkType = _vm->_arc->readByte();
uint32 chunkSize = _vm->_arc->readUint32LE();
byte *chunkBuffer = NULL;
- uint32 movieOffset;
debug(0, "chunkType = %d; chunkSize = %d", chunkType, chunkSize);
@@ -116,8 +115,6 @@ void MoviePlayer::playMovie(uint resIndex) {
_vm->_arc->read(chunkBuffer, chunkSize);
}
- movieOffset = _vm->_arc->pos();
-
switch (chunkType) {
case kChunkFirstImage:
case kChunkSubsequentImages:
@@ -177,9 +174,7 @@ void MoviePlayer::playMovie(uint resIndex) {
}
delete[] chunkBuffer;
-
- _vm->_arc->seek(movieOffset, SEEK_SET);
-
+
if (!handleInput())
break;