don't constantly keep trying to reconnect to nq servers. its abusive.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4752 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-09-16 00:40:30 +00:00
parent 6c6999ce78
commit 811d49720d

View file

@ -2882,6 +2882,7 @@ void CLNQ_ConnectionlessPacket(void)
switch(MSG_ReadByte())
{
case CCREP_ACCEPT:
connectinfo.trying = false;
if (cls.state >= ca_connected)
{
if (cls.demoplayback == DPB_NONE)
@ -2934,6 +2935,7 @@ void CLNQ_ConnectionlessPacket(void)
return;
case CCREP_REJECT:
connectinfo.trying = false;
s = MSG_ReadString();
Con_Printf("Connect failed\n%s\n", s);
return;