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
This commit is contained in:
Spoike 2009-11-07 04:32:07 +00:00
parent ad83ffa7c8
commit e6498c778e

View file

@ -1329,7 +1329,7 @@ qboolean CL_SendCmdQW (sizebuf_t *buf)
cl.frames[curframe].receivedtime = -1; // we haven't gotten a reply yet 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; vec3_t cursor_start, cursor_impact;
int cursor_entitynumber = 0; int cursor_entitynumber = 0;