aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/video/seq_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/video/seq_decoder.cpp b/engines/sci/video/seq_decoder.cpp
index e7137351c4..9a14a6b408 100644
--- a/engines/sci/video/seq_decoder.cpp
+++ b/engines/sci/video/seq_decoder.cpp
@@ -140,7 +140,7 @@ bool SeqDecoder::decodeNextFrame() {
do {
_fileStream->read(linebuf, frameWidth);
memcpy(dst, linebuf, frameWidth);
- dst += 320;
+ dst += SCREEN_WIDTH;
} while (--frameHeight);
delete[] linebuf;