aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/music.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-03-07 21:38:34 +0000
committerTorbjörn Andersson2009-03-07 21:38:34 +0000
commitc73740f2c008ccad4d58f5a9a4d70eb87cea3708 (patch)
tree525071a3974943bd21d93bfa7ff069a557d98d57 /engines/sword2/music.cpp
parente7defa3820df233866f364edb35c58c7f9835464 (diff)
downloadscummvm-rg350-c73740f2c008ccad4d58f5a9a4d70eb87cea3708.tar.gz
scummvm-rg350-c73740f2c008ccad4d58f5a9a4d70eb87cea3708.tar.bz2
scummvm-rg350-c73740f2c008ccad4d58f5a9a4d70eb87cea3708.zip
Added comment about a possible FIXME.
svn-id: r39207
Diffstat (limited to 'engines/sword2/music.cpp')
-rw-r--r--engines/sword2/music.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sword2/music.cpp b/engines/sword2/music.cpp
index 8f5b951783..92af3d9276 100644
--- a/engines/sword2/music.cpp
+++ b/engines/sword2/music.cpp
@@ -160,6 +160,11 @@ static Audio::AudioStream *getAudioStream(SoundFileHandle *fh, const char *base,
}
}
+ // FIXME: In the forest maze on Zombie Island, the scripts will often
+ // try to play song 451, which doesn't exist. We could easily substitute
+ // another for it here, but which one? There are roughly 250 musical
+ // cues to choose from.
+
uint32 pos = fh->idxTab[id * 3 + 0];
uint32 len = fh->idxTab[id * 3 + 1];
uint32 enc_len = fh->idxTab[id * 3 + 2];