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

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@402 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2011-01-22 20:11:46 +00:00
parent 26735b7ba9
commit fde82ec3ac
1 changed files with 1 additions and 1 deletions

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;