From e6498c778e5cf13b97b27c4f4c403b7841039fbc Mon Sep 17 00:00:00 2001 From: Spoike <acceptthis@users.sourceforge.net> Date: Sat, 7 Nov 2009 04:32:07 +0000 Subject: [PATCH] only send qw prydoncursor when we're fully connected. git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3422 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_input.c b/engine/client/cl_input.c index dfc83e266..64c235e58 100644 --- a/engine/client/cl_input.c +++ b/engine/client/cl_input.c @@ -1329,7 +1329,7 @@ qboolean CL_SendCmdQW (sizebuf_t *buf) cl.frames[curframe].receivedtime = -1; // we haven't gotten a reply yet - if ((cls.fteprotocolextensions2 & PEXT2_PRYDONCURSOR) && *cl_prydoncursor.string) + if ((cls.fteprotocolextensions2 & PEXT2_PRYDONCURSOR) && *cl_prydoncursor.string && cls.state == ca_active) { vec3_t cursor_start, cursor_impact; int cursor_entitynumber = 0;