]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix miscounting of timedemo frames on cold/warm runs in the same session
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 Dec 2007 07:32:29 +0000 (07:32 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 Dec 2007 07:32:29 +0000 (07:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7825 d7cf8633-e32d-0410-b094-e92efae38249

cl_demo.c

index 2485afb908de566dd40700ba0af69b276bff5918..f6987f47195fa9bff79b2021ce5849017d001a74 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -439,5 +439,6 @@ void CL_TimeDemo_f (void)
        cls.timedemo = true;
        // get first message this frame
        cls.td_lastframe = -1;
+       cls.demonum = -1;               // stop demo loop
 }