SCUMM: Fix workaround for Dig spider lair sound glitch

The soundKludge() function assumes there are always 8 parameters
for Digital iMUSE script commands.
This commit is contained in:
Torbjörn Andersson 2012-01-14 09:25:52 +01:00
parent 209012a88e
commit 28d5922cca

View File

@ -943,7 +943,7 @@ void ScummEngine::runExitScript() {
// effect is also used in room 33, so let's do the same fade out that it
// does in that room's exit script.
if (_game.id == GID_DIG && _currentRoom == 44) {
int scriptCmds[] = { 14, 215, 0x600, 0, 30 };
int scriptCmds[] = { 14, 215, 0x600, 0, 30, 0, 0, 0 };
_sound->soundKludge(scriptCmds, ARRAYSIZE(scriptCmds));
}
#endif