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

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

View file

@ -310,7 +310,7 @@ static void SND_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int count)
{
data = sfx[i];
// 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;
// right = (data * rightvol) >> 8;
left = data * leftvol;