inject ammo&health info packets into demo stream, fixed connectadmin
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2037 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -73,7 +73,7 @@ void connects(char *servername, char *serverport, char *password)
|
||||
|
||||
ENetAddress address;
|
||||
int p = 0;
|
||||
if(serverport) p = atoi(serverport);
|
||||
if(serverport && serverport[0]) p = atoi(serverport);
|
||||
address.port = p > 0 ? p : CUBE_DEFAULT_SERVER_PORT;
|
||||
|
||||
if(servername)
|
||||
|
||||
Reference in New Issue
Block a user