(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
This commit is contained in:
@@ -692,7 +692,7 @@ DEF_CONSOLE_CMD(ConNetworkConnect)
|
||||
IConsolePrintF(CC_DEFAULT, " port: %s", port);
|
||||
}
|
||||
|
||||
NetworkClientConnectGame(ip, rport);
|
||||
NetworkClientConnectGame(NetworkAddress(ip, rport));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user