fixed regression caused by me

svn-id: r9097
This commit is contained in:
Paweł Kołodziejski 2003-07-20 19:50:32 +00:00
parent b54dee99a5
commit e25be8327a

View File

@ -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);
}
}