aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorFlorian Kagerer2008-05-11 12:58:54 +0000
committerFlorian Kagerer2008-05-11 12:58:54 +0000
commit5f9c53344666cb4010665123d2badf7557018a3c (patch)
tree9af94008c9f4d9adaffdcbe8f8ac1ed3577750bb /engines/kyra
parent47e4cf17bbf25f8a09eb83ad3289a7c2e1f033db (diff)
downloadscummvm-rg350-5f9c53344666cb4010665123d2badf7557018a3c.tar.gz
scummvm-rg350-5f9c53344666cb4010665123d2badf7557018a3c.tar.bz2
scummvm-rg350-5f9c53344666cb4010665123d2badf7557018a3c.zip
stop music playback when skipping (parts of) the HOF intro
svn-id: r32019
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/sequences_hof.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/sequences_hof.cpp b/engines/kyra/sequences_hof.cpp
index 49a5a7dc94..bed94b2ae0 100644
--- a/engines/kyra/sequences_hof.cpp
+++ b/engines/kyra/sequences_hof.cpp
@@ -284,6 +284,9 @@ void KyraEngine_HoF::seq_playSequences(int startSeq, int endSeq) {
seq_sequenceCommand(cseq.finalCommand);
seq_resetAllTextEntries();
+ if (_abortIntroFlag || skipFlag())
+ _sound->haltTrack();
+
if (_flags.isDemo && !_flags.isTalkie) {
if (seqNum == kSequenceDemoFisher) {
_abortIntroFlag = false;