[Scummvm-cvs-logs] CVS: scummvm/scumm imuse.cpp,1.34,1.35

Pawe? Ko?odziejski aquadran at users.sourceforge.net
Sat Oct 5 13:37:45 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv12913

Modified Files:
	imuse.cpp 
Log Message:
imuse: ahh, fixing previous patch

Index: imuse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- imuse.cpp	5 Oct 2002 20:22:56 -0000	1.34
+++ imuse.cpp	5 Oct 2002 20:36:49 -0000	1.35
@@ -5160,7 +5160,7 @@
 				_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 @@
 					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);





More information about the Scummvm-git-logs mailing list