aboutsummaryrefslogtreecommitdiff
path: root/kyra/wsamovie.cpp
diff options
context:
space:
mode:
authorMax Horn2004-10-15 19:48:07 +0000
committerMax Horn2004-10-15 19:48:07 +0000
commit2b2fa690e9057c303891a22909bbcd6644348a3f (patch)
tree2e3807f5280ebf4e7f8644a002ec9872db8a479b /kyra/wsamovie.cpp
parent293162d2bab17b8ab01b42c0a72326ad2a9bbb34 (diff)
downloadscummvm-rg350-2b2fa690e9057c303891a22909bbcd6644348a3f.tar.gz
scummvm-rg350-2b2fa690e9057c303891a22909bbcd6644348a3f.tar.bz2
scummvm-rg350-2b2fa690e9057c303891a22909bbcd6644348a3f.zip
Fix what looks to be a typo, anybody who actually has kyra may want to verify this...
svn-id: r15560
Diffstat (limited to 'kyra/wsamovie.cpp')
-rw-r--r--kyra/wsamovie.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kyra/wsamovie.cpp b/kyra/wsamovie.cpp
index 5b89dccf7e..056ece2770 100644
--- a/kyra/wsamovie.cpp
+++ b/kyra/wsamovie.cpp
@@ -92,9 +92,9 @@ namespace Kyra {
}
uint8* frameData = 0;
- uint8 image40[64000]; // I think this crash on Plam OS :)
+ uint8 image40[64000]; // I think this will crash on Plam OS :)
- if (frame = _prefetchedFrame + 1) {
+ if (frame == _prefetchedFrame + 1) {
frameData = _buffer + _offsetTable[frame] + (hasPalette() ? 768 : 0);
Compression::decode80(frameData, image40);
Compression::decode40(image40, _currentFrame);