mirror of https://github.com/OpenTTD/OpenTTD
(svn r6785) -Cleanup: Remove unused _network_playas from NetworkAddServer. This function
only adds favourite servers to the list, does nothing with regards to connectionrelease/0.5
parent
fea1f59f11
commit
085a6b497f
|
@ -938,8 +938,6 @@ void NetworkAddServer(const char *b)
|
||||||
rport = NETWORK_DEFAULT_PORT;
|
rport = NETWORK_DEFAULT_PORT;
|
||||||
|
|
||||||
ParseConnectionString(&player, &port, host);
|
ParseConnectionString(&player, &port, host);
|
||||||
|
|
||||||
if (player != NULL) _network_playas = atoi(player);
|
|
||||||
if (port != NULL) rport = atoi(port);
|
if (port != NULL) rport = atoi(port);
|
||||||
|
|
||||||
item = NetworkQueryServer(host, rport, true);
|
item = NetworkQueryServer(host, rport, true);
|
||||||
|
|
Loading…
Reference in New Issue