trying to fix q2 connectivity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3993 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
09c275794c
commit
0736882c60
1 changed files with 5 additions and 4 deletions
|
@ -2270,10 +2270,6 @@ void CL_ConnectionlessPacket (void)
|
|||
{
|
||||
/*Quake2 or Darkplaces*/
|
||||
char *s2;
|
||||
/*throttle*/
|
||||
if (curtime - lasttime < 500)
|
||||
return;
|
||||
lasttime = curtime;
|
||||
|
||||
for (s2 = s+9; *s2; s2++)
|
||||
{
|
||||
|
@ -2285,6 +2281,11 @@ void CL_ConnectionlessPacket (void)
|
|||
#ifdef NQPROT
|
||||
if (cls.protocol == CP_NETQUAKE || cls.protocol == CP_UNKNOWN)
|
||||
{
|
||||
/*throttle*/
|
||||
if (curtime - lasttime < 500)
|
||||
return;
|
||||
lasttime = curtime;
|
||||
|
||||
cls.protocol = CP_NETQUAKE;
|
||||
CL_ConnectToDarkPlaces(s+9, net_from);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue