mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
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:
parent
33a57c5a14
commit
d77addf552
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue