From: havoc Date: Thu, 20 Dec 2007 07:32:29 +0000 (+0000) Subject: fix miscounting of timedemo frames on cold/warm runs in the same session X-Git-Tag: xonotic-v0.1.0preview~2666 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3f94ed2f51053a39ae771fe5b9e494602c37f9b2;p=xonotic%2Fdarkplaces.git fix miscounting of timedemo frames on cold/warm runs in the same session git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7825 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_demo.c b/cl_demo.c index 2485afb9..f6987f47 100644 --- 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 }