]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_demo.c
Configure all of the CL_MeshEntities* meshes the same, the material flags decide...
[xonotic/darkplaces.git] / cl_demo.c
index 6d4fb869088dd7b234226232c7bc30e5c67d872f..26265ff48553abc15a439f7f461ba6ea8fbca9ec 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include "quakedef.h"
 
-#ifdef CONFIG_CAPTURE_VIDEO
+#ifdef CONFIG_VIDEO_CAPTURE
 extern cvar_t cl_capturevideo;
 extern cvar_t cl_capturevideo_demo_stop;
 #endif
@@ -81,7 +81,7 @@ Called when a demo file runs out, or the user starts a game
 // LordHavoc: now called only by CL_Disconnect
 void CL_StopPlayback (void)
 {
-#ifdef CONFIG_CAPTURE_VIDEO
+#ifdef CONFIG_VIDEO_CAPTURE
        if (cl_capturevideo_demo_stop.integer)
                Cvar_Set("cl_capturevideo", "0");
 #endif
@@ -239,7 +239,7 @@ void CL_ReadDemoMessage(void)
                                        cls.td_onesecondnexttime++;
                                }
                        }
-                       else if (cl.time <= cl.mtime[0])
+                       else if (cl.time < cl.mtime[0])
                        {
                                // don't need another message yet
                                return;