]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
-Fixed a possible buffer overflow bug in NetConn_ReceivedMessage (thanks Spike!)
[xonotic/darkplaces.git] / sv_user.c
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++)