From: havoc Date: Fri, 20 May 2005 06:33:44 +0000 (+0000) Subject: removed unused applytime field from usercmd_t X-Git-Tag: xonotic-v0.1.0preview~4863 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a6ea5ae57d7a1ae4a9bd6e24a6d3cc5eea990f0e;p=xonotic%2Fdarkplaces.git removed unused applytime field from usercmd_t git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5318 d7cf8633-e32d-0410-b094-e92efae38249 --- 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++)