From a6ea5ae57d7a1ae4a9bd6e24a6d3cc5eea990f0e Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 20 May 2005 06:33:44 +0000 Subject: [PATCH] removed unused applytime field from usercmd_t git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5318 d7cf8633-e32d-0410-b094-e92efae38249 --- client.h | 1 - sv_user.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/client.h b/client.h index da0f8c26..60cd20ef 100644 --- a/client.h +++ b/client.h @@ -349,7 +349,6 @@ typedef struct double time; double receivetime; - double applytime; int buttons; int impulse; } usercmd_t; diff --git a/sv_user.c b/sv_user.c index a3c73b42..96ed45f7 100644 --- a/sv_user.c +++ b/sv_user.c @@ -616,10 +616,6 @@ void SV_ReadClientMove (void) move->time = MSG_ReadFloat (); if (msg_badread) Con_Printf("SV_ReadClientMessage: badread at %s:%i\n", __FILE__, __LINE__); move->receivetime = sv.time; - move->applytime = move->time; - - // FIXME: this is only for testing! - move->applytime += cl_movement_latency.value; // read current angles for (i = 0;i < 3;i++) -- 2.39.2