summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
commit853757df15383c2e9cc33023dc04a256c458e671 (patch)
treef12cf49d6ddc17b6b4fc96d066359872b108f144 /src/net/net.cpp
parent8e57e80d73a58077615924d50ac206d19efddae6 (diff)
downloadmv-853757df15383c2e9cc33023dc04a256c458e671.tar.gz
mv-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2
mv-853757df15383c2e9cc33023dc04a256c458e671.tar.xz
mv-853757df15383c2e9cc33023dc04a256c458e671.zip
fix some code style by cpplint.
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r--src/net/net.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index bb3160cda..f22a87695 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -149,12 +149,6 @@ ServerInfo::Type networkType = ServerInfo::UNKNOWN;
void connectToServer(const ServerInfo &server)
{
- if (server.type == ServerInfo::UNKNOWN)
- {
- // TODO: Query the server about itself and choose the netcode based on
- // that
- }
-
if (networkType == server.type && getGeneralHandler())
{
getGeneralHandler()->reload();