From e25be8327ae124b5ada06e1fa20cf0b4ee1e1356 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sun, 20 Jul 2003 19:50:32 +0000 Subject: fixed regression caused by me svn-id: r9097 --- scumm/smush/saud_channel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm') diff --git a/scumm/smush/saud_channel.cpp b/scumm/smush/saud_channel.cpp index 9deb5ce2f3..d6a495950f 100644 --- a/scumm/smush/saud_channel.cpp +++ b/scumm/smush/saud_channel.cpp @@ -197,9 +197,9 @@ void SaudChannel::recalcVolumeTable() { if (volume_right > 128) volume_right = 128; for (int i = 0; i < 256; i++) { - int16 value = volume_left * i; + int16 value = volume_left * (int8)i; _voltable[0][i] = TO_BE_16(value); - value = volume_right * i; + value = volume_right * (int8)i; _voltable[1][i] = TO_BE_16(value); } } -- cgit v1.2.3