]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_demo.c
fix miscounting of timedemo frames on cold/warm runs in the same session
[xonotic/darkplaces.git] / 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
 }