From d1a489d83f0fbea9f6f9ec1671ef47712addab6a Mon Sep 17 00:00:00 2001 From: TimeServ Date: Sun, 22 Jun 2008 11:30:16 +0000 Subject: [PATCH] don't do cl_netfps stuff twice in sendcmd git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3014 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_input.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/engine/client/cl_input.c b/engine/client/cl_input.c index 8c340722f..9c9a09c81 100644 --- a/engine/client/cl_input.c +++ b/engine/client/cl_input.c @@ -1508,19 +1508,6 @@ void CL_SendCmd (double frametime) msecstouse -= spare; } } - if (cl_netfps.value > 0 && !cl_indepphysics.value) - {//this chunk of code is here to stop the client from using too few msecs per packet - int spare; - // due to the mvdsv input problem we can't just fire off packets during an incomplete connection - // or the mod will think we're speed cheating - spare = CL_FilterTime(msecstouse, cl_netfps.value); - if (!spare && msecstouse < 200) - fullsend = false; - if (spare > cl_sparemsec.value) - spare = cl_sparemsec.value; - if (spare > 0) - msecstouse -= spare; - } for (plnum = 0; plnum < cl.splitclients; plnum++) {