default master URI (tmp)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1406 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -92,6 +92,7 @@ extern int hwtexsize;
|
||||
#include "protos.h" // external function decls
|
||||
|
||||
#define AC_VERSION 940
|
||||
#define AC_MASTER_URI "masterserver094.cubers.net/cgi-bin/actioncube.pl/" // FIXME, change DNS on ac release
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -2209,7 +2209,7 @@ void initserver(bool dedicated, int uprate, char *sdesc, char *ip, int serverpor
|
||||
{
|
||||
if(passwd) s_strcpy(serverpassword, passwd);
|
||||
maxclients = maxcl > 0 ? min(maxcl, MAXCLIENTS) : DEFAULTCLIENTS;
|
||||
servermsinit(master ? master : "masterserver.cubers.net/cgi-bin/actioncube.pl/", ip, CUBE_SERVINFO_PORT(serverport), sdesc, dedicated);
|
||||
servermsinit(master ? master : AC_MASTER_URI, ip, CUBE_SERVINFO_PORT(serverport), sdesc, dedicated);
|
||||
|
||||
if(isdedicated = dedicated)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user