From cc0f8c4fb5f2933df4f5faa9dac5bbdea546ea2b Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 2 Nov 2002 16:33:40 +0000 Subject: Hack for Full Throttle - aquadran, are you sure these ranges are right? svn-id: r5384 --- scumm/smush/saud_channel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scumm/smush/saud_channel.cpp b/scumm/smush/saud_channel.cpp index 6eaa388ae7..d2def835df 100644 --- a/scumm/smush/saud_channel.cpp +++ b/scumm/smush/saud_channel.cpp @@ -190,7 +190,8 @@ void SaudChannel::recalcVolumeTable() { 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; -- cgit v1.2.3