aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;