aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-11-02 16:33:40 +0000
committerJames Brown2002-11-02 16:33:40 +0000
commitcc0f8c4fb5f2933df4f5faa9dac5bbdea546ea2b (patch)
tree93740698e15daa6ca9fec1b32b7f62afc2e4b679
parentffebcc826be7127816fa37c6ce96af56cfa38a58 (diff)
downloadscummvm-rg350-cc0f8c4fb5f2933df4f5faa9dac5bbdea546ea2b.tar.gz
scummvm-rg350-cc0f8c4fb5f2933df4f5faa9dac5bbdea546ea2b.tar.bz2
scummvm-rg350-cc0f8c4fb5f2933df4f5faa9dac5bbdea546ea2b.zip
Hack for Full Throttle - aquadran, are you sure these ranges are right?
svn-id: r5384
-rw-r--r--scumm/smush/saud_channel.cpp3
1 files changed, 2 insertions, 1 deletions
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;