mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
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:
parent
26735b7ba9
commit
fde82ec3ac
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];
|
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;
|
||||||
|
|
Loading…
Reference in a new issue