diff options
author | Paweł Kołodziejski | 2004-04-26 06:26:18 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-04-26 06:26:18 +0000 |
commit | d2aa9b91b5d9ec5a231f44c56558b0e70c244861 (patch) | |
tree | 91e7cdfd0f03b9c5033707e4e163ce71be449ed2 | |
parent | bdf98670418141ae3b8fdc7c08d4d33c829d379b (diff) | |
download | scummvm-rg350-d2aa9b91b5d9ec5a231f44c56558b0e70c244861.tar.gz scummvm-rg350-d2aa9b91b5d9ec5a231f44c56558b0e70c244861.tar.bz2 scummvm-rg350-d2aa9b91b5d9ec5a231f44c56558b0e70c244861.zip |
fixed cue music in FT
svn-id: r13633
-rw-r--r-- | scumm/imuse_digi/dimuse_music.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse_digi/dimuse_music.cpp b/scumm/imuse_digi/dimuse_music.cpp index 8920c23b27..b311012333 100644 --- a/scumm/imuse_digi/dimuse_music.cpp +++ b/scumm/imuse_digi/dimuse_music.cpp @@ -391,7 +391,7 @@ void IMuseDigital::setFtMusicCuePoint(int cueId) { if (cueId == 0) playFtMusic(NULL, 0, 0); else { - int seq = ((_curMusicSeq - 1) + cueId) * 4; + int seq = ((_curMusicSeq - 1) * 4) + cueId; playFtMusic(_ftSeqMusicTable[seq].audioName, _ftSeqMusicTable[seq].opcode, _ftSeqMusicTable[seq].volume); } |