fix cl_netfps sendcmd

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3880 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2011-07-18 13:23:52 +00:00
parent 8af2750173
commit 20180cf49f

View file

@ -1447,10 +1447,7 @@ void CL_SendCmd (double frametime, qboolean mainloop)
else if (msecstouse > 50) else if (msecstouse > 50)
msecstouse &= ~1; // align to 2 msecstouse &= ~1; // align to 2
wantfps = cl_netfps.value<=0?cl_maxfps.value:cl_netfps.value; wantfps = cl_netfps.value;
if (wantfps < cls.maxfps ? max (30.0, cls.maxfps) : 0x7fff)
wantfps = cls.maxfps ? max (30.0, cls.maxfps) : 0x7fff;
fullsend = true; fullsend = true;
if (!runningindepphys) if (!runningindepphys)