diff options
| -rw-r--r-- | engines/gob/sound.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engines/gob/sound.cpp b/engines/gob/sound.cpp index 4e0516722b..baee878f4d 100644 --- a/engines/gob/sound.cpp +++ b/engines/gob/sound.cpp @@ -404,8 +404,8 @@ int Snd::readBuffer(int16 *buffer, const int numSamples) {  		// Linear interpolation. See sound/rate.cpp -		val = _last + ((((_cur - _last) * _offsetFrac + -					(1UL << (FRAC_BITS - 1))) >> FRAC_BITS) << 8); +		val = (_last + (((_cur - _last) * _offsetFrac + +					(1UL << (FRAC_BITS - 1))) >> FRAC_BITS)) << 8;  		*buffer++ = (((int32) val) * _fadeVol) >> 16;  		oldOffset = _offset; | 
