summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r--src/net/net.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index 25dcd981..09f245b0 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -133,17 +133,12 @@ void connectToServer(ServerInfo &server)
{
// TODO: Query the server about itself and choose the netcode based on
// that
-
-#ifndef MANASERV_SUPPORT
- server.type = ServerInfo::TMWATHENA;
-#else
if (server.port == 6901)
server.type = ServerInfo::TMWATHENA;
else if (server.port == 9601)
server.type = ServerInfo::MANASERV;
else
logger->error(_("Unknown Server Type! Exiting."));
-#endif
}
if (networkType == server.type && getGeneralHandler() != NULL)