mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
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:
parent
209012a88e
commit
28d5922cca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user