From: havoc Date: Wed, 27 Feb 2008 16:04:46 +0000 (+0000) Subject: fix a typo (but it was harmless) X-Git-Tag: xonotic-v0.1.0preview~2375 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d013ad0e4dbcfc9c61ac6e3d0984f31972aad0be;p=xonotic%2Fdarkplaces.git fix a typo (but it was harmless) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8147 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_mix.c b/snd_mix.c index ebf16654..d7a62553 100644 --- a/snd_mix.c +++ b/snd_mix.c @@ -487,7 +487,7 @@ void S_MixToBuffer(void *stream, unsigned int bufferframes) if (ch->pos < 0) { count = -ch->pos; - count = min(count, frames); + count = min(count, frames - ltime); ch->pos += count; ltime += count; }