mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Fixed the crash in the interlude before the last level in the Gobliiins CD-version
svn-id: r26009
This commit is contained in:
parent
5c1732af4d
commit
71cc080fc5
@ -145,9 +145,11 @@ void CDROM::playMultMusic() {
|
||||
{"avt022.tot", "fra6", "all6", "ang6", "esp6", "ita6"}
|
||||
};
|
||||
|
||||
// Default to "ang?" for other languages (including EN_USA)
|
||||
int language = _vm->_global->_language <= 4 ? _vm->_global->_language : 2;
|
||||
for (int i = 0; i < ARRAYSIZE(tracks); i++)
|
||||
if (!scumm_stricmp(_vm->_game->_curTotFile, tracks[i][0])) {
|
||||
startTrack(tracks[i][_vm->_global->_language + 1]);
|
||||
startTrack(tracks[i][language + 1]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user