From 39a088229a367b6429031c2eb349ed293745f2df Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Sun, 13 Jul 2003 06:29:49 +0000 Subject: 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. svn-id: r8968 --- simon/vga.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'simon') diff --git a/simon/vga.cpp b/simon/vga.cpp index 528e87abef..0e0f44f7e0 100644 --- a/simon/vga.cpp +++ b/simon/vga.cpp @@ -1853,9 +1853,10 @@ void SimonEngine::vc_70_queue_music() { // 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() { -- cgit v1.2.3