aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-07-20 19:50:32 +0000
committerPaweł Kołodziejski2003-07-20 19:50:32 +0000
commite25be8327ae124b5ada06e1fa20cf0b4ee1e1356 (patch)
treefe5de88ad53a92ccb1bcea26402f52507d02d81c /scumm
parentb54dee99a5dcd8772d01de8e516254ec9f923264 (diff)
downloadscummvm-rg350-e25be8327ae124b5ada06e1fa20cf0b4ee1e1356.tar.gz
scummvm-rg350-e25be8327ae124b5ada06e1fa20cf0b4ee1e1356.tar.bz2
scummvm-rg350-e25be8327ae124b5ada06e1fa20cf0b4ee1e1356.zip
fixed regression caused by me
svn-id: r9097
Diffstat (limited to 'scumm')
-rw-r--r--scumm/smush/saud_channel.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
}