aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);