[Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_sound.cpp,1.88,1.89

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Fri Dec 19 09:08:06 CET 2003


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv24344/driver

Modified Files:
	d_sound.cpp 
Log Message:
Fixed bug with looping music. It must have been there all along, but maybe
the recent mixer changes made it more audible. Or maybe I just didn't
listen until now.


Index: d_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/d_sound.cpp,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- d_sound.cpp	19 Dec 2003 01:30:19 -0000	1.88
+++ d_sound.cpp	19 Dec 2003 17:07:37 -0000	1.89
@@ -85,6 +85,7 @@
 		if (_filePos >= _fileEnd) {
 			_firstTime = true;
 			_filePos = _fileStart;
+			fpMus.seek(_filePos, SEEK_SET);
 		}
 	} else {
 		// Fade out at the end of the music. Is this really desirable





More information about the Scummvm-git-logs mailing list