mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +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) {
|
if (cls.demoplayback) {
|
||||||
qboolean ret = CL_GetDemoMessage ();
|
qboolean ret = CL_GetDemoMessage ();
|
||||||
|
|
||||||
if (!ret && demo_timeframes_isactive) {
|
if (!ret && demo_timeframes_isactive && cls.td_starttime) {
|
||||||
CL_TimeFrames_AddTimestamp ();
|
CL_TimeFrames_AddTimestamp ();
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue