aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-14 14:07:56 +0000
committerJohannes Schickel2008-05-14 14:07:56 +0000
commit05a45b17b8cd88387a58dc61dd91ff128ff7d24d (patch)
tree31a7a1b76a0ab697a543663873979b06dac32d12 /engines
parent0bd8493e7cb75ff8cfc0d768da884af3b48b3f98 (diff)
downloadscummvm-rg350-05a45b17b8cd88387a58dc61dd91ff128ff7d24d.tar.gz
scummvm-rg350-05a45b17b8cd88387a58dc61dd91ff128ff7d24d.tar.bz2
scummvm-rg350-05a45b17b8cd88387a58dc61dd91ff128ff7d24d.zip
Just allow animation scripts marked as skipable to be skipped.
svn-id: r32114
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/sequences_v2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/sequences_v2.cpp b/engines/kyra/sequences_v2.cpp
index 5d4b826ec2..cc4b8528a4 100644
--- a/engines/kyra/sequences_v2.cpp
+++ b/engines/kyra/sequences_v2.cpp
@@ -107,7 +107,8 @@ void KyraEngine_v2::processAnimationScript(int allowSkip, int resetChar) {
if (skipFlag()) {
resetSkipFlag();
- break;
+ if (allowSkip)
+ break;
}
}