]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix bug with demo time
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 22 Sep 2017 17:09:30 +0000 (17:09 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 22 Sep 2017 17:09:30 +0000 (17:09 +0000)
Some demos may freeze at beginning, this fix this problem.

From: Slava Bacherikov <slava@bacher09.org>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12340 d7cf8633-e32d-0410-b094-e92efae38249

cl_demo.c

index 5741e813daac6470162cc32bba92c72874902807..26265ff48553abc15a439f7f461ba6ea8fbca9ec 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -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;