aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-10 17:49:21 +0000
committerJohannes Schickel2009-05-10 17:49:21 +0000
commit3a392ed05b68b560f744cd06d7eec962aff782a8 (patch)
tree73a00c0209968db91f2e03a477a9734f434b7f2a /engines/kyra
parent7d79a092b5982c87ac889fb71c6e3b2a2e2bae35 (diff)
downloadscummvm-rg350-3a392ed05b68b560f744cd06d7eec962aff782a8.tar.gz
scummvm-rg350-3a392ed05b68b560f744cd06d7eec962aff782a8.tar.bz2
scummvm-rg350-3a392ed05b68b560f744cd06d7eec962aff782a8.zip
Oops typo.
svn-id: r40428
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/wsamovie.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/wsamovie.cpp b/engines/kyra/wsamovie.cpp
index dd1c2e5c53..a5f6d01dd6 100644
--- a/engines/kyra/wsamovie.cpp
+++ b/engines/kyra/wsamovie.cpp
@@ -390,7 +390,7 @@ int WSAMovie_v2::open(const char *filename, int unk1, uint8 *palBuf) {
if (palBuf)
_vm->screen()->loadPalette(wsaData + 8 + ((_numFrames << 2) & 0xFFFF), palBuf, 0x30);
}
-
+
_flags |= WF_XOR;
}
@@ -428,7 +428,7 @@ int WSAMovie_v2::open(const char *filename, int unk1, uint8 *palBuf) {
wsaData += 4;
}
- for (int i = 0; i < _numFrames; ++i)
+ for (int i = 1; i < _numFrames; ++i)
_frameOffsTable[_numFrames] -= frameDataOffs;
// WSA movies without last frame offset need special treatment