aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-08-08 07:16:24 +0200
committerTorbjörn Andersson2013-08-08 07:16:24 +0200
commit6e5c308b91031b8b7ae2dc5dd87bb4c2bc20ad81 (patch)
tree53d24a7285f3c2673b88b9bfa48ccf65a6b6af64
parentb8850522b6a94a1375d110d58f34e1106b428e2e (diff)
downloadscummvm-rg350-6e5c308b91031b8b7ae2dc5dd87bb4c2bc20ad81.tar.gz
scummvm-rg350-6e5c308b91031b8b7ae2dc5dd87bb4c2bc20ad81.tar.bz2
scummvm-rg350-6e5c308b91031b8b7ae2dc5dd87bb4c2bc20ad81.zip
KYRA: Fix Kyra3 family album animation glitch, CID 1004139
The first page wasn't animated, and it's likely that some of the other right-page animations were slightly off as well.
-rw-r--r--engines/kyra/gui_mr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/gui_mr.cpp b/engines/kyra/gui_mr.cpp
index bcbfe27b69..ee0303c8c3 100644
--- a/engines/kyra/gui_mr.cpp
+++ b/engines/kyra/gui_mr.cpp
@@ -737,7 +737,7 @@ void KyraEngine_MR::loadAlbumPageWSA() {
if (_album.curPage != 14) {
filename = Common::String::format("PAGE%x.WSA", _album.curPage+1);
_album.rightPage.wsa->open(filename.c_str(), 1, 0);
- _album.rightPage.maxFrame = _album.leftPage.wsa->frames()-1;
+ _album.rightPage.maxFrame = _album.rightPage.wsa->frames()-1;
}
}