[Scummvm-cvs-logs] scummvm master -> 0599145ecf92aeabf5bd4221a91761237f970323
fuzzie
fuzzie at fuzzie.org
Tue Nov 22 14:59:53 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:
0599145ecf SKY: Map the floppy intro track.
Commit: 0599145ecf92aeabf5bd4221a91761237f970323
https://github.com/scummvm/scummvm/commit/0599145ecf92aeabf5bd4221a91761237f970323
Author: Alyssa Milburn (fuzzie at fuzzie.org)
Date: 2011-11-22T05:57:25-08:00
Commit Message:
SKY: Map the floppy intro track.
Changed paths:
engines/sky/music/musicbase.cpp
diff --git a/engines/sky/music/musicbase.cpp b/engines/sky/music/musicbase.cpp
index b388afd..c4e5ba4 100644
--- a/engines/sky/music/musicbase.cpp
+++ b/engines/sky/music/musicbase.cpp
@@ -117,6 +117,10 @@ void MusicBase::loadNewMusic() {
} else if (section == 5 && song == 6) {
section = 4;
song = 4;
+ } else if (section == 0 && song == 1) {
+ // floppy intro
+ section = 5;
+ song = 3;
}
Common::String trackName = Common::String::format("music_%d%02d", section, song);
Audio::SeekableAudioStream *stream = Audio::SeekableAudioStream::openStreamFile(trackName);
More information about the Scummvm-git-logs
mailing list