diff options
author | Eugene Sandulenko | 2006-11-08 10:05:21 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-11-08 10:05:21 +0000 |
commit | efd5e8bfb6245925552e909c2d7a409098bf4a29 (patch) | |
tree | 6354e6e499391dd07c69fc7269847159a5bfd025 /engines | |
parent | f6f1dac199a972339b30f14f5d7630fd0807f670 (diff) | |
download | scummvm-rg350-efd5e8bfb6245925552e909c2d7a409098bf4a29.tar.gz scummvm-rg350-efd5e8bfb6245925552e909c2d7a409098bf4a29.tar.bz2 scummvm-rg350-efd5e8bfb6245925552e909c2d7a409098bf4a29.zip |
Fix bug #1592006: "IMUSE: Typo in sysex_scumm.cpp ?"
svn-id: r24655
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/imuse/sysex_scumm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |