made a teeny bit more friendly with badly configured mvdsv servers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@652 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-15 19:50:00 +00:00
parent b1ad773292
commit 9b7f0aea51

View file

@ -677,7 +677,10 @@ qboolean NET_GetPacket (netsrc_t netsrc)
#ifndef SERVERONLY
if (cls.state != ca_disconnected && netsrc == NS_CLIENT)
{
Cbuf_AddText("disconnect\nreconnect\n", RESTRICT_LOCAL); //retry connecting.
if (cls.lastarbiatarypackettime+5 < Sys_DoubleTime()) //too many mvdsv
Cbuf_AddText("disconnect\nreconnect\n", RESTRICT_LOCAL); //retry connecting.
else
Con_Printf("Packet was not delivered - server might be badly configured\n");
break;
}
#endif