mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Allow us to connect even to broken MVDSVs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@211 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
12f8804bc1
commit
0df88acb20
1 changed files with 13 additions and 0 deletions
|
@ -1267,6 +1267,19 @@ void CL_Packet_f (void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (Cmd_FromServer())
|
||||
{
|
||||
if (adr.type == NA_IP)
|
||||
if (adr.ip[0] == 127)
|
||||
if (adr.ip[1] == 0)
|
||||
if (adr.ip[2] == 0)
|
||||
if (adr.ip[3] == 1)
|
||||
{
|
||||
Con_Printf ("^b^1Server is broken. Ignoring 'realip' packet request\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
in = Cmd_Argv(2);
|
||||
out = send+4;
|
||||
send[0] = send[1] = send[2] = send[3] = 0xff;
|
||||
|
|
Loading…
Reference in a new issue