aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorFlorian Kagerer2009-05-10 20:47:58 +0000
committerFlorian Kagerer2009-05-10 20:47:58 +0000
commite1cc5c309a81db91e6c2aa39a02923eb49f222f1 (patch)
tree5c820e719615bf11e8d2062cd314af6062aa46d4 /engines/kyra
parent81cfd774adf14c5fca7f10156c81548ff967dcae (diff)
downloadscummvm-rg350-e1cc5c309a81db91e6c2aa39a02923eb49f222f1.tar.gz
scummvm-rg350-e1cc5c309a81db91e6c2aa39a02923eb49f222f1.tar.bz2
scummvm-rg350-e1cc5c309a81db91e6c2aa39a02923eb49f222f1.zip
KYRA: fixed typo
svn-id: r40436
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/wsamovie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/wsamovie.cpp b/engines/kyra/wsamovie.cpp
index a5f6d01dd6..0aca374346 100644
--- a/engines/kyra/wsamovie.cpp
+++ b/engines/kyra/wsamovie.cpp
@@ -429,7 +429,7 @@ int WSAMovie_v2::open(const char *filename, int unk1, uint8 *palBuf) {
}
for (int i = 1; i < _numFrames; ++i)
- _frameOffsTable[_numFrames] -= frameDataOffs;
+ _frameOffsTable[i] -= frameDataOffs;
// WSA movies without last frame offset need special treatment
if (_frameOffsTable[_numFrames + 1])