]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_sdl.c
physics: fix and refactor unsticking
[xonotic/darkplaces.git] / snd_sdl.c
index f3479ba942d9c7c58900ddecebbe7d2e2e8eba59..e93d302113f31e5cb509faa5f5824c584ae21a1f 100644 (file)
--- a/snd_sdl.c
+++ b/snd_sdl.c
@@ -37,7 +37,7 @@ static void Buffer_Callback (void *userdata, Uint8 *stream, int len)
 
        factor = snd_renderbuffer->format.channels * snd_renderbuffer->format.width;
        if ((unsigned int)len % factor != 0)
-               Sys_Abort("SDL sound: invalid buffer length passed to Buffer_Callback (%d bytes)\n", len);
+               Sys_Error("SDL sound: invalid buffer length passed to Buffer_Callback (%d bytes)\n", len);
 
        RequestedFrames = (unsigned int)len / factor;