aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2019-07-23 17:54:07 +0200
committerathrxx2019-07-23 17:56:37 +0200
commit1f2882b5a3b07c675a152f2f5e553f40c4bbd5b5 (patch)
treed8367ed56f1a827d9648982f53bbedd6b80a41db
parent3ec025db4d11d5d08df0503c7d1bf1f88e235ec3 (diff)
downloadscummvm-rg350-1f2882b5a3b07c675a152f2f5e553f40c4bbd5b5.tar.gz
scummvm-rg350-1f2882b5a3b07c675a152f2f5e553f40c4bbd5b5.tar.bz2
scummvm-rg350-1f2882b5a3b07c675a152f2f5e553f40c4bbd5b5.zip
KYRA: (HOF/FM-TOWNS) - fix intro glitch
Get rid of alternative anim frame triggers in cases where animations stop too early (e. g. the tree in the first scene not vanishing completely).
-rw-r--r--engines/kyra/sequence/sequences_hof.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/kyra/sequence/sequences_hof.cpp b/engines/kyra/sequence/sequences_hof.cpp
index 5f41faad15..3c2837297a 100644
--- a/engines/kyra/sequence/sequences_hof.cpp
+++ b/engines/kyra/sequence/sequences_hof.cpp
@@ -1864,12 +1864,14 @@ int SeqPlayer_HOF::cbHOF_overview(WSAMovie_v2 *wsaObj, int x, int y, int frm) {
playSoundAndDisplaySubTitle(1);
break;
- CASE_ALT(434, 354)
+ case 434:
+ //CASE_ALT(434, 354)
closeNestedAnimation(0);
startNestedAnimation(0, kNestedSequenceDragon);
break;
- CASE_ALT(540, 400)
+ case 540:
+ //CASE_ALT(540, 400)
waitForSubTitlesTimeout();
closeNestedAnimation(0);
setCountDown(0);
@@ -1938,7 +1940,8 @@ int SeqPlayer_HOF::cbHOF_library(WSAMovie_v2 *wsaObj, int x, int y, int frm) {
playSoundAndDisplaySubTitle(6);
break;
- CASE_ALT(660, 480)
+ case 660:
+ //CASE_ALT(660, 480)
_screen->copyPage(2, 12);
waitForSubTitlesTimeout();
closeNestedAnimation(0);