mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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:
parent
e378ff51ac
commit
1effff9be4
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue