firstrun script, new menu items, lanconnect fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1512 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -72,7 +72,8 @@ void connects(char *servername, char *serverport, char *password)
|
||||
s_strcpy(clientpassword, password ? password : "");
|
||||
|
||||
ENetAddress address;
|
||||
int p = atoi(serverport);
|
||||
int p = 0;
|
||||
if(serverport) p = atoi(serverport);
|
||||
address.port = p > 0 ? p : CUBE_DEFAULT_SERVER_PORT;
|
||||
|
||||
if(servername)
|
||||
|
||||
Reference in New Issue
Block a user