]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
fix two SOCKLEN_Ts
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index e16d75d383e4842e9e56f4d695267829ce116fe4..8d1eba3187b554a86c7817fbf426e5683592028b 100644 (file)
--- a/host.c
+++ b/host.c
@@ -828,6 +828,7 @@ void Host_Main(void)
                        // decide the simulation time
                        if (cls.capturevideo.active)
                        {
+                               //***
                                if (cls.capturevideo.realtime)
                                        clframetime = cl.realframetime = max(cl_timer, 1.0 / cls.capturevideo.framerate);
                                else
@@ -870,6 +871,10 @@ void Host_Main(void)
                        cl.oldtime = cl.time;
                        cl.time += clframetime;
 
+                       // update video
+                       if (host_speeds.integer)
+                               time1 = Sys_DoubleTime();
+
                        // Collect input into cmd
                        CL_Input();
 
@@ -885,10 +890,6 @@ void Host_Main(void)
                        // update client world (interpolate entities, create trails, etc)
                        CL_UpdateWorld();
 
-                       // update video
-                       if (host_speeds.integer)
-                               time1 = Sys_DoubleTime();
-
                        CL_Video_Frame();
                        CL_Gecko_Frame();