[Scummvm-cvs-logs] SF.net SVN: scummvm:[49186] scummvm/trunk/engines/sci/sound/music.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon May 24 15:50:20 CEST 2010


Revision: 49186
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49186&view=rev
Author:   m_kiewitz
Date:     2010-05-24 13:50:19 +0000 (Mon, 24 May 2010)

Log Message:
-----------
SCI: remove isQueued status when sound gets stopped - fixes iceman resuming music when entering hotel complex (with bar) right at the start

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sound/music.cpp

Modified: scummvm/trunk/engines/sci/sound/music.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/music.cpp	2010-05-24 13:28:23 UTC (rev 49185)
+++ scummvm/trunk/engines/sci/sound/music.cpp	2010-05-24 13:50:19 UTC (rev 49186)
@@ -305,6 +305,7 @@
 
 void SciMusic::soundStop(MusicEntry *pSnd) {
 	pSnd->status = kSoundStopped;
+	pSnd->isQueued = false;
 	if (pSnd->pStreamAud)
 		_pMixer->stopHandle(pSnd->hCurrentAud);
 


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