From efd5e8bfb6245925552e909c2d7a409098bf4a29 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 8 Nov 2006 10:05:21 +0000 Subject: Fix bug #1592006: "IMUSE: Typo in sysex_scumm.cpp ?" svn-id: r24655 --- engines/scumm/imuse/sysex_scumm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm') diff --git a/engines/scumm/imuse/sysex_scumm.cpp b/engines/scumm/imuse/sysex_scumm.cpp index 7a79278eb0..902b834e2c 100644 --- a/engines/scumm/imuse/sysex_scumm.cpp +++ b/engines/scumm/imuse/sysex_scumm.cpp @@ -189,7 +189,7 @@ void sysexHandler_Scumm (Player *player, const byte *msg, uint16 len) { case 96: // Set instrument part = player->getPart(p[0] & 0x0F); - a = (p[1] & 0x0F) << 12 |(p[2] & 0x0F) << 8 |(p[4] & 0x0F) << 4 |(p[4] & 0x0F); + a = (p[1] & 0x0F) << 12 |(p[2] & 0x0F) << 8 |(p[3] & 0x0F) << 4 |(p[4] & 0x0F); if (part) part->set_instrument(a); break; -- cgit v1.2.3