mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-28 06:42:36 +00:00
Allow a Quest running the demo pak to connect to another quest server
This commit is contained in:
parent
4b46ae002f
commit
50d253fcdc
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