From d013ad0e4dbcfc9c61ac6e3d0984f31972aad0be Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 27 Feb 2008 16:04:46 +0000 Subject: [PATCH] fix a typo (but it was harmless) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8147 d7cf8633-e32d-0410-b094-e92efae38249 --- snd_mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2