No harm in backporting a few fixes :)

This commit is contained in:
Adam Olsen 2001-04-20 13:17:48 +00:00
parent 75ecbe3032
commit 5b46db8796

View file

@ -48,6 +48,7 @@
#include "va.h" #include "va.h"
void CL_FinishTimeDemo (void); void CL_FinishTimeDemo (void);
int demotime_cached;
/* /*
DEMO CODE DEMO CODE
@ -74,6 +75,7 @@ CL_StopPlayback (void)
cls.demofile = NULL; cls.demofile = NULL;
cls.state = ca_disconnected; cls.state = ca_disconnected;
cls.demoplayback = 0; cls.demoplayback = 0;
demotime_cached = 0;
if (cls.timedemo) if (cls.timedemo)
CL_FinishTimeDemo (); CL_FinishTimeDemo ();
@ -166,7 +168,6 @@ CL_GetDemoMessage (void)
float demotime; float demotime;
byte c; byte c;
usercmd_t *pcmd; usercmd_t *pcmd;
static int demotime_cached;
static float cached_demotime; static float cached_demotime;
// read the time from the packet // read the time from the packet