[Scummvm-cvs-logs] SF.net SVN: scummvm: [32019] scummvm/trunk/engines/kyra/sequences_hof.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sun May 11 14:58:55 CEST 2008


Revision: 32019
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32019&view=rev
Author:   athrxx
Date:     2008-05-11 05:58:54 -0700 (Sun, 11 May 2008)

Log Message:
-----------
stop music playback when skipping (parts of) the HOF intro

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sequences_hof.cpp

Modified: scummvm/trunk/engines/kyra/sequences_hof.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sequences_hof.cpp	2008-05-11 12:56:18 UTC (rev 32018)
+++ scummvm/trunk/engines/kyra/sequences_hof.cpp	2008-05-11 12:58:54 UTC (rev 32019)
@@ -284,6 +284,9 @@
 		seq_sequenceCommand(cseq.finalCommand);
 		seq_resetAllTextEntries();
 
+		if (_abortIntroFlag || skipFlag())
+			_sound->haltTrack();
+
 		if (_flags.isDemo && !_flags.isTalkie) {
 			if (seqNum == kSequenceDemoFisher) {
 				_abortIntroFlag = false;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list