From 8ae31a0c113fae6279d3e18c0482fdd4b0ef7647 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Sun, 11 Apr 2021 16:46:15 +0000 Subject: [PATCH] host: Make delta non-static in Host_Sleep git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13116 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/host.c b/host.c index 1dc4b0d5..0c4da3c9 100644 --- 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); -- 2.39.2