mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
This commit is contained in:
parent
c4b682f996
commit
e31da8532e
@ -878,7 +878,7 @@ void NetworkRebuildHostList()
|
||||
NetworkGameList *item = _network_game_list;
|
||||
while (item != NULL && i != lengthof(_network_host_list)) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user