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
This commit is contained in:
TimeServ 2008-06-22 11:30:16 +00:00
parent b115f8998b
commit d1a489d83f
1 changed files with 0 additions and 13 deletions

View File

@ -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++)
{