(svn r15916) -Codechange: let the network game list use NetworkAddress
This commit is contained in:
@@ -714,7 +714,7 @@ void NetworkRebuildHostList()
|
||||
while (item != NULL && i != lengthof(_network_host_list)) {
|
||||
if (item->manually) {
|
||||
free(_network_host_list[i]);
|
||||
_network_host_list[i++] = str_fmt("%s:%i", item->info.hostname, item->port);
|
||||
_network_host_list[i++] = str_fmt("%s:%i", item->info.hostname, item->address.GetPort());
|
||||
}
|
||||
item = item->next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user