diff options
author | Paweł Kołodziejski | 2004-04-08 22:46:22 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-04-08 22:46:22 +0000 |
commit | 263bd0d0e707e242bc037a2c9abe5169a1592d49 (patch) | |
tree | 6c9de5610641d8de3e61eea476b29d903168b0e3 /scumm | |
parent | 6da153dc123207c4450232e3297d636a15deb143 (diff) | |
download | scummvm-rg350-263bd0d0e707e242bc037a2c9abe5169a1592d49.tar.gz scummvm-rg350-263bd0d0e707e242bc037a2c9abe5169a1592d49.tar.bz2 scummvm-rg350-263bd0d0e707e242bc037a2c9abe5169a1592d49.zip |
another fix
svn-id: r13503
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse_digi/dimuse_music.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/imuse_digi/dimuse_music.cpp b/scumm/imuse_digi/dimuse_music.cpp index c94c95f489..bf6480a409 100644 --- a/scumm/imuse_digi/dimuse_music.cpp +++ b/scumm/imuse_digi/dimuse_music.cpp @@ -332,12 +332,12 @@ void IMuseDigital::playComiMusic(const char *songName, const imuseComiTable *tab if ((!sequence) && (table->param != 0) && (table->param == _comiStateMusicTable[_curMusicState].param)) { startMusic(table->filename, table->soundId, 0, 127); + return; + } + if (table->opcode == 12) { + startMusic(table->filename, table->soundId, table->hookId, 127); } else { - if (table->opcode == 12) { - startMusic(table->filename, table->soundId, table->hookId, 127); - } else { - startMusic(table->filename, table->soundId, hookId, 127); - } + startMusic(table->filename, table->soundId, hookId, 127); } break; } |