]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
host: Make delta non-static in Host_Sleep
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 1dc4b0d5b8d2c65dd569bad28d0f6d1b302e98bf..0c4da3c9aa75611ad8624866268b46779bd8f030 100644 (file)
--- a/host.c
+++ b/host.c
@@ -394,8 +394,7 @@ double Host_Frame(double time)
 
 static inline void Host_Sleep(double time)
 {
-       static double delta;
-       double time0;
+       double delta, time0;
 
        if(host_maxwait.value <= 0)
                time = min(time, 1000000.0);