[Scummvm-cvs-logs] CVS: scummvm/simon vga.cpp,1.64,1.65

Jamieson Christian jamieson630 at users.sourceforge.net
Sat Jul 12 23:30:26 CEST 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv11987/scummvm/simon

Modified Files:
	vga.cpp 
Log Message:
Fix for Bug [768940] SIMON: Music in Swamp shouldn't loop

Fixed problem with how loop control was being handled
in the Simon 2 music queueing logic.

Index: vga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/vga.cpp,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- vga.cpp	14 Jun 2003 18:52:30 -0000	1.64
+++ vga.cpp	13 Jul 2003 06:29:49 -0000	1.65
@@ -1853,9 +1853,10 @@
 	// It specifies whether to loop the current
 	// track and, if not, whether to switch to
 	// a different track upon completion.
-	midi.setLoop (loop != 0);
 	if (track != 0xFFFF && track != 999)
-		midi.queueTrack (track, 0);
+		midi.queueTrack (track, loop != 0);
+	else
+		midi.setLoop (loop != 0);
 }
 
 void SimonEngine::vc_71_check_music_queue() {





More information about the Scummvm-git-logs mailing list