1
0
Fork 0
forked from fte/fteqw

Some mapcluster/nq fixes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5514 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-08-16 06:58:37 +00:00
parent e378ff51ac
commit 1effff9be4
2 changed files with 2 additions and 2 deletions

View file

@ -2294,7 +2294,7 @@ void CL_SendCmd (double frametime, qboolean mainloop)
{
if (cls.netchan.message.cursize + 2+strlen(clientcmdlist->command)+100 > cls.netchan.message.maxsize)
break;
if (!strncmp(clientcmdlist->command, "spawn", 5) && cls.userinfosync.numkeys)
if (!strncmp(clientcmdlist->command, "spawn", 5) && cls.userinfosync.numkeys && cl.haveserverinfo)
break; //HACK: don't send the spawn until all pending userinfos have been flushed.
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
MSG_WriteString (&cls.netchan.message, clientcmdlist->command);

View file

@ -777,7 +777,7 @@ void CL_CheckForResend (void)
connectinfo.istransfer = false;
connectinfo.adr.prot = NP_DGRAM;
NET_InitClient(true);
NET_InitClient(sv.state != ss_clustermode);
cls.state = ca_disconnected;
switch (svs.gametype)