diff options
author | dominik <dominik@openttd.org> | 2005-01-05 09:59:45 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2005-01-05 09:59:45 +0000 |
commit | e31da8532e8deb9daccd203de6d08166be0a9243 (patch) | |
tree | 97d3ac6b8e2310beb4b81a0ee4f305d9f9995f3c | |
parent | c4b682f9963d6047e95bd669d56e1d415a17779f (diff) | |
download | openttd-e31da8532e8deb9daccd203de6d08166be0a9243.tar.xz |
(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
-rw-r--r-- | network.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |