Small tweek so you can stream demos off a different proxy.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2436 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-10-27 16:12:07 +00:00
parent bce372f236
commit 22360e35dd
1 changed files with 4 additions and 4 deletions

View File

@ -433,6 +433,10 @@ qboolean Net_ConnectToServer(sv_t *qtv, char *ip)
char *at;
qboolean status;
at = strchrrev(ip, '@');
if (at)
ip = at+1;
qtv->usequkeworldprotocols = false;
if (!strncmp(ip, "file:", 5) || !strncmp(ip, "demo:", 5))
@ -452,10 +456,6 @@ qboolean Net_ConnectToServer(sv_t *qtv, char *ip)
qtv->nextconnectattempt = qtv->curtime + RECONNECT_TIME; //wait half a minuite before trying to reconnect
at = strchrrev(ip, '@');
if (at)
ip = at+1;
if (!strncmp(ip, "udp:", 4))
{
qtv->usequkeworldprotocols = true;