don't record frame times until we've actually `started' the demo (ie, don't

record times for frames timedemo doesn't count in its fps calcs)
This commit is contained in:
Bill Currie 2003-08-13 21:53:40 +00:00
parent 33a57c5a14
commit d77addf552

View file

@ -407,7 +407,7 @@ CL_GetMessage (void)
if (cls.demoplayback) {
qboolean ret = CL_GetDemoMessage ();
if (!ret && demo_timeframes_isactive) {
if (!ret && demo_timeframes_isactive && cls.td_starttime) {
CL_TimeFrames_AddTimestamp ();
}
return ret;