diff options
author | Sven Hesse | 2007-07-31 23:34:05 +0000 |
---|---|---|
committer | Sven Hesse | 2007-07-31 23:34:05 +0000 |
commit | 9f05751611366325f9855684b66c47515ae553dd (patch) | |
tree | cf5a0794ed9a449441108b3dbc149de7a05d2d2a /engines | |
parent | 507461e94df430484b0f377c17a54472810747c2 (diff) | |
download | scummvm-rg350-9f05751611366325f9855684b66c47515ae553dd.tar.gz scummvm-rg350-9f05751611366325f9855684b66c47515ae553dd.tar.bz2 scummvm-rg350-9f05751611366325f9855684b66c47515ae553dd.zip |
Woodruff's intro.vmd now works correctly! :))
svn-id: r28374
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/coktelvideo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp index d8275c4ad3..a8765c4a99 100644 --- a/engines/gob/coktelvideo.cpp +++ b/engines/gob/coktelvideo.cpp @@ -1086,7 +1086,7 @@ CoktelVideo::State Vmd::processFrame(uint16 frame) { uint8 index = _stream->readByte(); uint8 count = _stream->readByte(); - _stream->read(_palette + index * 3, count + 1); + _stream->read(_palette + index * 3, (count + 1) * 3); _stream->skip((255 - count) * 3); state.flags |= kStatePalette; |