*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@567 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-10 23:25:57 +00:00
parent d5c2d30f28
commit a50f2f2c63
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1308,7 +1308,7 @@ void localconnect()
void initserver(bool dedicated, int uprate, char *sdesc, char *ip, char *master, char *passwd, int maxcl, char *maprot, char *masterpwd) // EDIT: AH
{
serverpassword = passwd;
maxclients = maxcl;
maxclients = maxcl ? min(maxcl, MAXCLIENTS) : DEFAULTCLIENTS;
servermsinit(master ? master : "masterserver.cubers.net/cgi-bin/actioncube.pl/", sdesc, dedicated);
if(isdedicated = dedicated)
+1 -1
View File
@@ -148,7 +148,7 @@ void fatal(char *s, char *o) { cleanupserver(); printf("servererror: %s\n", s);
int main(int argc, char* argv[]) // EDIT: AH
{
int uprate = 0, maxcl = 4;
int uprate = 0, maxcl = DEFAULTCLIENTS;
char *sdesc = "", *ip = "", *master = NULL, *passwd = "", *maprot = "", *masterpwd = NULL;
for(int i = 1; i<argc; i++)