[Scummvm-cvs-logs] CVS: scummvm/scumm/smush saud_channel.cpp,1.7,1.8

James Brown ender at users.sourceforge.net
Sat Nov 2 08:47:52 CET 2002


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

Modified Files:
	saud_channel.cpp 
Log Message:
Hack for Full Throttle - aquadran, are you sure these ranges are right?


Index: saud_channel.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/saud_channel.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- saud_channel.cpp	31 Aug 2002 13:29:10 -0000	1.7
+++ saud_channel.cpp	2 Nov 2002 16:33:40 -0000	1.8
@@ -190,7 +190,8 @@
 	const int32 MAX_BALANCE = 100;
 	int32 volume_left, volume_right;
 	if(_balance < -MAX_BALANCE || _balance > MAX_BALANCE) {
-		error("balance is out of range ! : %d", _balance);
+		warning("balance is out of range ! : %d", _balance);
+		return;
 	}
 	int32 left_multiplier = MAX_BALANCE - _balance;
 	int32 right_multiplier = MAX_BALANCE + _balance;





More information about the Scummvm-git-logs mailing list