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
commit9b09746148e7e311cd18e68c2c5a712561c29d68 (patch)
treeeb5d09e30e672108661dc90275259ceb838d99b2
parentf440033c668e3e76216fcf8deaa97c8a1e44b4fe (diff)
downloadopenttd-9b09746148e7e311cd18e68c2c5a712561c29d68.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);