mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-15 01:11:59 +00:00
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:
parent
f918de5d64
commit
d8a994271a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue