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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Dec 28 01:15:31 CET 2009


Revision: 46666
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46666&view=rev
Author:   thebluegr
Date:     2009-12-28 00:15:31 +0000 (Mon, 28 Dec 2009)

Log Message:
-----------
SCI/new music code: Fixed music fading in SCI2 - seems like setting the signal when fading is done isn't necessary

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

Modified: scummvm/trunk/engines/sci/sfx/music.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/music.cpp	2009-12-27 23:46:11 UTC (rev 46665)
+++ scummvm/trunk/engines/sci/sfx/music.cpp	2009-12-28 00:15:31 UTC (rev 46666)
@@ -393,12 +393,6 @@
 		}
 
 		pSnd->pMidiParser->setVolume(pSnd->volume);
-
-		if (pSnd->fadeStep == 0) {
-			// Signal the engine scripts that the sound is done fading
-			SegManager *segMan = ((SciEngine *)g_engine)->getEngineState()->_segMan;	// HACK
-			PUT_SEL32V(segMan, pSnd->soundObj, signal, SIGNAL_OFFSET);
-		}
 	}
 }
 


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