*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@744 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -1070,7 +1070,7 @@ void initserver(bool dedicated, int uprate, char *sdesc, char *ip, char *master,
|
||||
{
|
||||
ENetAddress address = { ENET_HOST_ANY, CUBE_SERVER_PORT };
|
||||
if(*ip && enet_address_set_host(&address, ip)<0) printf("WARNING: server ip not resolved");
|
||||
serverhost = enet_host_create(&address, maxclients, 0, uprate);
|
||||
serverhost = enet_host_create(&address, maxclients+1, 0, uprate);
|
||||
if(!serverhost) fatal("could not create server host\n");
|
||||
loopi(maxclients) serverhost->peers[i].data = (void *)-1;
|
||||
if(!maprot || !maprot[0]) maprot = newstring("config/maprot.cfg");
|
||||
|
||||
Reference in New Issue
Block a user