fixed win compatibility problems
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@221 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -51,11 +51,11 @@ void connects(char *servername)
|
||||
disconnect(1); // reset state
|
||||
addserver(servername);
|
||||
|
||||
conoutf("attempting to connect to %s", servername);
|
||||
conoutf("attempting to connect to %s", (int)servername);
|
||||
ENetAddress address = { ENET_HOST_ANY, CUBE_SERVER_PORT };
|
||||
if(enet_address_set_host(&address, servername) < 0)
|
||||
{
|
||||
conoutf("could not resolve server %s", servername);
|
||||
conoutf("could not resolve server %s", (int) servername);
|
||||
return;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user