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:
driAn
2007-12-29 16:54:44 +00:00
parent 17ec0b131e
commit e87a167c93
12 changed files with 693 additions and 293 deletions
+2 -1
View File
@@ -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)