]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_mix.c
buffer csprogs downloads and load csprogs from the buffer instead of a file, if available
[xonotic/darkplaces.git] / snd_mix.c
index 29012cc0a3db9147dfc76c1717c20338a2094c00..2274f353ea5cdf6dc40915721de98d4a05d3b245 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -360,7 +360,6 @@ void S_MixToBuffer(void *stream, unsigned int bufferframes)
 
                        // do the actual paint now (may skip work if silent)
                        paint = paintbuffer;
-                       wantframes = totalmixframes;
                        istartframe = 0;
                        for (wantframes = totalmixframes;wantframes > 0;posd += count * speedd, wantframes -= count)
                        {