]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
removed unused applytime field from usercmd_t
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 20 May 2005 06:33:44 +0000 (06:33 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 20 May 2005 06:33:44 +0000 (06:33 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5318 d7cf8633-e32d-0410-b094-e92efae38249

client.h
sv_user.c

index da0f8c2632e4dfd7dbe897e4172103fb28eeca4e..60cd20ef79812e23d9d13685495ace9b43fa3ea1 100644 (file)
--- a/client.h
+++ b/client.h
@@ -349,7 +349,6 @@ typedef struct
 
        double time;
        double receivetime;
-       double applytime;
        int buttons;
        int impulse;
 } usercmd_t;
index a3c73b429bef9c7f3f4092a74e2abab6265bc701..96ed45f75318e0fa0c000a1b93ada61c02032d42 100644 (file)
--- 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++)