summaryrefslogtreecommitdiff
path: root/source/cl_local.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-02-14 18:12:41 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-02-14 18:12:41 +0000
commita5afaf65af8ef50d1ce8bbd9e2133239013c26f7 (patch)
tree699e5d4a3402ef403d98697f8b1e423036783c10 /source/cl_local.h
parent5fb93fcf0ba8877e8bda060370d2c722494971f5 (diff)
Stop client demo recording when `changing' command is received.
Prevent cl.time calculations from overflowing on high server frames.
Diffstat (limited to 'source/cl_local.h')
-rw-r--r--source/cl_local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cl_local.h b/source/cl_local.h
index f9de445..2e4c4b7 100644
--- a/source/cl_local.h
+++ b/source/cl_local.h
@@ -122,7 +122,8 @@ typedef struct client_state_s {
server_frame_t frames[UPDATE_BACKUP];
server_frame_t frame; // received from server
server_frame_t oldframe;
- int serverTime;
+ int servertime;
+ int serverdelta;
frameflags_t frameflags;
int lastframe;
@@ -148,7 +149,6 @@ typedef struct client_state_s {
int frametime; // fixed server frame time
float framefrac;
-
refdef_t refdef;
int lightlevel;