aboutsummaryrefslogtreecommitdiff
path: root/kyra/wsamovie.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-01-14 15:20:00 +0000
committerJohannes Schickel2006-01-14 15:20:00 +0000
commit576ac7ca116161693ec1e20caa6c3c7bf68daa71 (patch)
tree3da1e12764a4062d5bbb4794a85b5046ff8193f9 /kyra/wsamovie.cpp
parent7823a6795bb84afa624e2821387e3d34fa7077cd (diff)
downloadscummvm-rg350-576ac7ca116161693ec1e20caa6c3c7bf68daa71.tar.gz
scummvm-rg350-576ac7ca116161693ec1e20caa6c3c7bf68daa71.tar.bz2
scummvm-rg350-576ac7ca116161693ec1e20caa6c3c7bf68daa71.zip
Fixed bug # 1401236. (KYRA: Erroneous animation in the pantheon of moonlight).
svn-id: r20026
Diffstat (limited to 'kyra/wsamovie.cpp')
-rw-r--r--kyra/wsamovie.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/kyra/wsamovie.cpp b/kyra/wsamovie.cpp
index 1cc4a97251..b46055336a 100644
--- a/kyra/wsamovie.cpp
+++ b/kyra/wsamovie.cpp
@@ -132,13 +132,11 @@ void WSAMovieV1::displayFrame(int frameNum) {
}
if (_currentFrame == _numFrames) {
- if (!(_flags & WF_OFFSCREEN_DECODE) && (_vm->features() & GF_TALKIE))
- _vm->screen()->clearPage(_drawPage);
if (!(_flags & WF_NO_FIRST_FRAME)) {
if (_flags & WF_OFFSCREEN_DECODE) {
Screen::decodeFrameDelta(dst, _deltaBuffer);
} else {
- Screen::decodeFrameDeltaPage(dst, _deltaBuffer, _width);
+ Screen::decodeFrameDeltaPage(dst, _deltaBuffer, _width, 1);
}
}
_currentFrame = 0;
@@ -201,7 +199,7 @@ void WSAMovieV1::processFrame(int frameNum, uint8 *dst) {
if (_flags & WF_OFFSCREEN_DECODE) {
Screen::decodeFrameDelta(dst, _deltaBuffer);
} else {
- Screen::decodeFrameDeltaPage(dst, _deltaBuffer, _width);
+ Screen::decodeFrameDeltaPage(dst, _deltaBuffer, _width, 0);
}
}
} // end of namespace Kyra