[Scummvm-cvs-logs] scummvm master -> 9abc601e53a63e9df102b4508b1aa06cd62d4916

fuzzie fuzzie at fuzzie.org
Tue Nov 22 14:30:00 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9abc601e53 SKY: Don't loop the floppy intro track.


Commit: 9abc601e53a63e9df102b4508b1aa06cd62d4916
    https://github.com/scummvm/scummvm/commit/9abc601e53a63e9df102b4508b1aa06cd62d4916
Author: Alyssa Milburn (fuzzie at fuzzie.org)
Date: 2011-11-22T05:21:47-08:00

Commit Message:
SKY: Don't loop the floppy intro track.

This isn't relevant at present, so this is "just in case".

Changed paths:
    engines/sky/music/musicbase.cpp



diff --git a/engines/sky/music/musicbase.cpp b/engines/sky/music/musicbase.cpp
index 018614d..b388afd 100644
--- a/engines/sky/music/musicbase.cpp
+++ b/engines/sky/music/musicbase.cpp
@@ -123,7 +123,8 @@ void MusicBase::loadNewMusic() {
 	if (stream) {
 		// not all tracks should loop
 		bool loops = true;
-		if ((section == 1 && song == 1) || (section == 1 && song == 4)
+		if ((section == 0 && song == 1)
+		 || (section == 1 && song == 1) || (section == 1 && song == 4)
 		 || (section == 2 && song == 1) || (section == 2 && song == 4)
 		 || (section == 4 && song == 2) || (section == 4 && song == 3)
 		 || (section == 4 && song == 5) || (section == 4 && song == 6)






More information about the Scummvm-git-logs mailing list