fixed a typo in a comment, noticed by Sander van Dijk.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@402 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2011-01-22 20:11:46 +00:00
parent f918de5d64
commit d8a994271a

View file

@ -310,7 +310,7 @@ static void SND_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int count)
{ {
data = sfx[i]; data = sfx[i];
// this was causing integer overflow as observed in quakespasm // this was causing integer overflow as observed in quakespasm
// with the warpspasm mod moved <<8 to left/right volume above. // with the warpspasm mod moved >>8 to left/right volume above.
// left = (data * leftvol) >> 8; // left = (data * leftvol) >> 8;
// right = (data * rightvol) >> 8; // right = (data * rightvol) >> 8;
left = data * leftvol; left = data * leftvol;