diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-11-01 22:39:35 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-11-02 19:35:27 +0100 |
commit | 671a465fa2c9469bde36b78c49e84bd0325c4cf1 (patch) | |
tree | fb97aa51e768cad72c7a162e87db0f52410e371f /src/net | |
parent | aa529734e30e3fc9542f95780b0d5346ddd29eaf (diff) | |
download | mana-671a465fa2c9469bde36b78c49e84bd0325c4cf1.tar.gz mana-671a465fa2c9469bde36b78c49e84bd0325c4cf1.tar.bz2 mana-671a465fa2c9469bde36b78c49e84bd0325c4cf1.tar.xz mana-671a465fa2c9469bde36b78c49e84bd0325c4cf1.zip |
Re-Enable the support of manaserv servers.
Reviewed-by: CodyMartin.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/net.cpp | 5 |
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) |