]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_demo.c
fixed a silly and harmless typo in RSurfShader_Water (*chain++ should have been chain++)
[xonotic/darkplaces.git] / cl_demo.c
index 40ada2d1068ae8f46b89226852a9330dd503441f..b38a2db5d9f18a70aac5bf01e6c7381b6b2e2464 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -143,7 +143,7 @@ int CL_GetMessage (void)
                                if (host_framecount == cls.td_startframe + 1)
                                        cls.td_starttime = realtime;
                        }
-                       else if ( /* cl.time > 0 && */ cl.time <= cl.mtime[0])
+                       else if (cl.time <= cl.mtime[0])
                        {
                                        return 0;               // don't need another message yet
                        }
@@ -350,9 +350,6 @@ void CL_PlayDemo_f (void)
 
        if (neg)
                cls.forcetrack = -cls.forcetrack;
-// ZOID, fscanf is evil
-//     fscanf (cls.demofile, "%i\n", &cls.forcetrack);
-
 }
 
 /*
@@ -402,6 +399,7 @@ void CL_TimeDemo_f (void)
 
        // instantly hide console and deactivate it
        key_dest = key_game;
+       key_consoleactive = 0;
        scr_conlines = 0;
        scr_con_current = 0;