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:
driAn
2008-05-18 17:05:10 +00:00
parent ac0ba87d7e
commit 79b9c9ac88
7 changed files with 78 additions and 6 deletions
+1 -1
View File
@@ -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)