forgot this

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2261 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-05-09 19:30:57 +00:00
parent 4c566992e4
commit d18c74e47c
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ void S_TransferPaintBuffer(soundcardinfo_t *sc, int endtime)
else if (val < (short)0x8000)
val = (short)0x8000;
out[out_idx] = (val>>8) + 128;
out_idx = (out_idx + 1) & outlimit;
out_idx = (out_idx + 1) % outlimit;
skip += *cskip;
cskip += *cskip;
}