mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-14 18:19:11 +00:00
(svn r6785) -Cleanup: Remove unused _network_playas from NetworkAddServer. This function
only adds favourite servers to the list, does nothing with regards to connection
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user