From c630fbde6a26f196c66c929faead8cc3403d0c99 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Mon, 12 May 2008 21:52:44 +0000 Subject: fix valgrind warning and some cleanup svn-id: r32075 --- engines/kyra/sequences_hof.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/kyra/sequences_hof.cpp') diff --git a/engines/kyra/sequences_hof.cpp b/engines/kyra/sequences_hof.cpp index 23b6da2314..3e9f6030ac 100644 --- a/engines/kyra/sequences_hof.cpp +++ b/engines/kyra/sequences_hof.cpp @@ -284,8 +284,10 @@ void KyraEngine_HoF::seq_playSequences(int startSeq, int endSeq) { seq_sequenceCommand(cseq.finalCommand); seq_resetAllTextEntries(); - if (_abortIntroFlag || skipFlag()) + if (_abortIntroFlag || skipFlag()) { _sound->haltTrack(); + _sound->voiceStop(); + } if (_flags.isDemo && !_flags.isTalkie) { if (seqNum == kSequenceDemoFisher) { -- cgit v1.2.3