From 20180cf49f351534132654f28eeae98257563b33 Mon Sep 17 00:00:00 2001
From: TimeServ <timeserv@users.sourceforge.net>
Date: Mon, 18 Jul 2011 13:23:52 +0000
Subject: [PATCH] fix cl_netfps sendcmd

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3880 fc73d0e0-1445-4013-8a0c-d673dee63da5
---
 engine/client/cl_input.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/engine/client/cl_input.c b/engine/client/cl_input.c
index de613ca6e..8f80acdd0 100644
--- a/engine/client/cl_input.c
+++ b/engine/client/cl_input.c
@@ -1447,10 +1447,7 @@ void CL_SendCmd (double frametime, qboolean mainloop)
 	else if (msecstouse > 50)
 		msecstouse &= ~1; // align to 2
 
-	wantfps = cl_netfps.value<=0?cl_maxfps.value:cl_netfps.value;
-	if (wantfps < cls.maxfps ? max (30.0, cls.maxfps) : 0x7fff)
-		wantfps = cls.maxfps ? max (30.0, cls.maxfps) : 0x7fff;
-
+	wantfps = cl_netfps.value;
 	fullsend = true;
 
 	if (!runningindepphys)