mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 18:31:27 +00:00
Make the timedemo related timers double.
Their being float didn't cause noticeable trouble when time was 0-based, but with it 4Gs based, timedemo results got very weird.
This commit is contained in:
parent
8e86ce9de9
commit
9992a08285
2 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ typedef struct {
|
|||
qboolean timedemo;
|
||||
int td_lastframe; // to meter out one message a frame
|
||||
int td_startframe; // host_framecount at start
|
||||
float td_starttime; // realtime at second frame of timedemo
|
||||
double td_starttime; // realtime at second frame of timedemo
|
||||
} client_static_t;
|
||||
|
||||
extern client_static_t cls;
|
||||
|
|
|
@ -165,9 +165,9 @@ typedef struct {
|
|||
int prevtime;
|
||||
double basetime;
|
||||
qboolean timedemo;
|
||||
float td_lastframe; // to meter out one message a frame
|
||||
double td_lastframe; // to meter out one message a frame
|
||||
int td_startframe; // host_framecount at start
|
||||
float td_starttime; // realtime at second frame of timedemo
|
||||
double td_starttime; // realtime at second frame of timedemo
|
||||
} client_static_t;
|
||||
|
||||
extern client_static_t cls;
|
||||
|
|
Loading…
Reference in a new issue