added experimental hook handle on 8,9 sub opcode music

svn-id: r20779
This commit is contained in:
Paweł Kołodziejski 2006-02-19 23:25:27 +00:00
parent c175368230
commit 1fb19714e2

View File

@ -292,11 +292,13 @@ void IMuseDigital::playComiMusic(const char *songName, const imuseComiTable *tab
}
}
switch(table->opcode) {
switch (table->opcode) {
case 0:
fadeOutMusic(120);
break;
case 8:
case 9:
fadeOutMusic(120);
setHookId(table->soundId, table->soundId);
break;
case 1:
if (table->filename[0] == 0) {