aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorAlyssa Milburn2011-11-22 14:20:49 +0100
committerAlyssa Milburn2011-11-22 14:21:47 +0100
commit9abc601e53a63e9df102b4508b1aa06cd62d4916 (patch)
tree2321ad3a27aeb7ed1559b11d52fa1ab29550fd47 /engines
parentf66828a46288f04645d867d60ad25811d076bb16 (diff)
downloadscummvm-rg350-9abc601e53a63e9df102b4508b1aa06cd62d4916.tar.gz
scummvm-rg350-9abc601e53a63e9df102b4508b1aa06cd62d4916.tar.bz2
scummvm-rg350-9abc601e53a63e9df102b4508b1aa06cd62d4916.zip
SKY: Don't loop the floppy intro track.
This isn't relevant at present, so this is "just in case".
Diffstat (limited to 'engines')
-rw-r--r--engines/sky/music/musicbase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sky/music/musicbase.cpp b/engines/sky/music/musicbase.cpp
index 018614da98..b388afdb13 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)