X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=snd_mix.c;h=6bec880eae3974665dcc699feff687b8a84779fb;hb=37f06df27633c20f2ffa4e927f52a826f5fb92eb;hp=d497578129dedf92fd98506d4b416e26324ab95c;hpb=37c4042c3dbb546c53bc5de8d556d2469b49289e;p=xonotic%2Fdarkplaces.git diff --git a/snd_mix.c b/snd_mix.c index d4975781..6bec880e 100644 --- a/snd_mix.c +++ b/snd_mix.c @@ -510,7 +510,7 @@ void S_MixToBuffer(void *stream, unsigned int bufferframes) continue; if (!sfx->total_length) continue; - if (sfx->total_length < 0 || sfx->total_length > 1<<30) + if (sfx->total_length > 1<<30) Sys_Error("S_MixToBuffer: sfx corrupt\n"); ltime = 0;