summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-15 23:37:15 +0000
committerDarkvater <darkvater@openttd.org>2006-10-15 23:37:15 +0000
commit085a6b497fb7c939986a9b95f8f178a83793b029 (patch)
treeeb5d09e30e672108661dc90275259ceb838d99b2
parentfea1f59f110696d645797c130bbe7a9c3c510701 (diff)
downloadopenttd-085a6b497fb7c939986a9b95f8f178a83793b029.tar.xz
(svn r6785) -Cleanup: Remove unused _network_playas from NetworkAddServer. This function
only adds favourite servers to the list, does nothing with regards to connection
-rw-r--r--network.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/network.c b/network.c
index 6e43323c2..aabdedc57 100644
--- a/network.c
+++ b/network.c
@@ -938,8 +938,6 @@ void NetworkAddServer(const char *b)
rport = NETWORK_DEFAULT_PORT;
ParseConnectionString(&player, &port, host);
-
- if (player != NULL) _network_playas = atoi(player);
if (port != NULL) rport = atoi(port);
item = NetworkQueryServer(host, rport, true);