make sure RECONNECT_TIME_DEMO is enforced properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4789 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0077b87d02
commit
332945dbba
1 changed files with 5 additions and 2 deletions
|
@ -2237,11 +2237,14 @@ void QTV_Run(sv_t *qtv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (qtv->sourcefile)
|
if (qtv->sourcefile)
|
||||||
|
{
|
||||||
Net_ReadStream(qtv);
|
Net_ReadStream(qtv);
|
||||||
|
qtv->nextconnectattempt = qtv->curtime + RECONNECT_TIME_DEMO;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
qtv->nextconnectattempt = qtv->curtime + RECONNECT_TIME;
|
||||||
|
|
||||||
qtv->parsetime += packettime;
|
qtv->parsetime += packettime;
|
||||||
|
|
||||||
qtv->nextconnectattempt = qtv->curtime + RECONNECT_TIME;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue