]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
Added a couple of function skeletons for the automatic unloading of unused sounds...
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 09683f911428e8a1e8a976b0e44d1fced119068a..fbb6615a5102821ef211292df56f83b32dd76c28 100644 (file)
--- a/host.c
+++ b/host.c
@@ -577,7 +577,7 @@ qboolean Host_FilterTime (double time)
                {
                        // don't totally hog the CPU
                        if (timeleft >= 0.02)
-                               Sys_Sleep(timeleft * 1000 - 5);
+                               Sys_Sleep((int)(timeleft * 1000) - 5);
                        return false;
                }
        }