mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-01 20:30:57 +00:00
No harm in backporting a few fixes :)
This commit is contained in:
parent
75ecbe3032
commit
5b46db8796
1 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@
|
|||
#include "va.h"
|
||||
|
||||
void CL_FinishTimeDemo (void);
|
||||
int demotime_cached;
|
||||
|
||||
/*
|
||||
DEMO CODE
|
||||
|
@ -74,6 +75,7 @@ CL_StopPlayback (void)
|
|||
cls.demofile = NULL;
|
||||
cls.state = ca_disconnected;
|
||||
cls.demoplayback = 0;
|
||||
demotime_cached = 0;
|
||||
|
||||
if (cls.timedemo)
|
||||
CL_FinishTimeDemo ();
|
||||
|
@ -166,7 +168,6 @@ CL_GetDemoMessage (void)
|
|||
float demotime;
|
||||
byte c;
|
||||
usercmd_t *pcmd;
|
||||
static int demotime_cached;
|
||||
static float cached_demotime;
|
||||
|
||||
// read the time from the packet
|
||||
|
|
Loading…
Reference in a new issue