mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
Allow a Quest running the demo pak to connect to another quest server
This commit is contained in:
parent
096daff966
commit
1f3a31bbc8
1 changed files with 2 additions and 1 deletions
|
@ -702,7 +702,8 @@ static void ArenaServers_Insert( char* adrstr, char* info, int pingtime )
|
|||
servernodeptr->minPing = atoi( Info_ValueForKey( info, "minPing") );
|
||||
servernodeptr->maxPing = atoi( Info_ValueForKey( info, "maxPing") );
|
||||
servernodeptr->bPB = atoi( Info_ValueForKey( info, "punkbuster") );
|
||||
servernodeptr->demo = (strcasestr(info, "demo") != NULL);
|
||||
servernodeptr->demo = (strcasestr(info, "demo") != NULL) ||
|
||||
(strcmp(servernodeptr->hostname, "Quake3Quest") == 0); // Demo can connect to another quest
|
||||
|
||||
/*
|
||||
s = Info_ValueForKey( info, "nettype" );
|
||||
|
|
Loading…
Reference in a new issue