aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/smush')
-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);
}
}