[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.405.2.1,1.405.2.2

Travis Howell kirben at users.sourceforge.net
Sun Dec 19 03:24:02 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23922/scumm

Modified Files:
      Tag: branch-0-7-0
	sound.cpp 
Log Message:

Disable sound looping in HE games, since it is often never stopped.


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.405.2.1
retrieving revision 1.405.2.2
diff -u -d -r1.405.2.1 -r1.405.2.2
--- sound.cpp	17 Dec 2004 18:01:29 -0000	1.405.2.1
+++ sound.cpp	19 Dec 2004 11:23:28 -0000	1.405.2.2
@@ -294,8 +294,8 @@
 		}
 
 		// TODO: Set sound channel based on heChannel
-		if (heFlags & 1)
-			flags |= SoundMixer::FLAG_LOOP;
+		//if (heFlags & 1)
+		//	flags |= SoundMixer::FLAG_LOOP;
 
 		// Allocate a sound buffer, copy the data into it, and play
 		sound = (char *)malloc(size);





More information about the Scummvm-git-logs mailing list