mirror of https://github.com/OpenTTD/OpenTTD
(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
parent
c4b682f996
commit
e31da8532e
|
@ -878,7 +878,7 @@ void NetworkRebuildHostList()
|
||||||
NetworkGameList *item = _network_game_list;
|
NetworkGameList *item = _network_game_list;
|
||||||
while (item != NULL && i != lengthof(_network_host_list)) {
|
while (item != NULL && i != lengthof(_network_host_list)) {
|
||||||
if (item->manually)
|
if (item->manually)
|
||||||
_network_host_list[i++] = strdup(item->info.hostname);
|
_network_host_list[i++] = str_fmt("%s:%i", item->info.hostname, item->port);
|
||||||
item = item->next;
|
item = item->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue