aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-10-05 20:36:49 +0000
committerPaweł Kołodziejski2002-10-05 20:36:49 +0000
commit14831e74bf681de36e53b02ad7282a25727a7ff4 (patch)
tree1ad05f4bc8710c4e6e7a05463edbefaf316f35eb /scumm
parent74fb8f2293259adab813b2f6a69deb8a99b816f9 (diff)
downloadscummvm-rg350-14831e74bf681de36e53b02ad7282a25727a7ff4.tar.gz
scummvm-rg350-14831e74bf681de36e53b02ad7282a25727a7ff4.tar.bz2
scummvm-rg350-14831e74bf681de36e53b02ad7282a25727a7ff4.zip
imuse: ahh, fixing previous patch
svn-id: r5089
Diffstat (limited to 'scumm')
-rw-r--r--scumm/imuse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp
index c522bb01dc..42627befde 100644
--- a/scumm/imuse.cpp
+++ b/scumm/imuse.cpp
@@ -5160,7 +5160,7 @@ int32 IMuseDigital::doCommand(int a, int b, int c, int d, int e, int f, int g, i
_channel[channel]._volumeRight = d;
return 0;
case 7: // right volume control (0-127) i think
- debug(1, "IMuseDigital::doCommand setting right volume sample(%d),volume(%d)", sample, e);
+ debug(1, "IMuseDigital::doCommand setting right volume sample(%d),volume(%d)", sample, d);
for (l = 0; l < MAX_DIGITAL_CHANNELS; l++) {
if ((_channel[l]._idSound == sample) && (_channel[l]._used == true)) {
channel = l;
@@ -5171,7 +5171,7 @@ int32 IMuseDigital::doCommand(int a, int b, int c, int d, int e, int f, int g, i
warning("IMuseDigital::doCommand 12,7 sample(%d) not exist in channels", sample);
return 1;
}
- _channel[channel]._volumeRight = e;
+ _channel[channel]._volumeRight = d;
return 0;
default:
warning("IMuseDigital::doCommand 12 DEFAULT sub command %d", sub_cmd);