From 671a465fa2c9469bde36b78c49e84bd0325c4cf1 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Mon, 1 Nov 2010 22:39:35 +0100 Subject: Re-Enable the support of manaserv servers. Reviewed-by: CodyMartin. --- src/net/net.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/net') 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) -- cgit v1.2.3-70-g09d2