diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-13 22:14:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-13 22:14:56 +0300 |
commit | 6b894220f3c029d256f7f15f41ecb2f635d25bde (patch) | |
tree | a8c9b891f3f0df44440def2ea755fcf7454ddb32 /src/net/net.cpp | |
parent | b4cd8029339cac3c577b67bd161b4dd3ab4f1530 (diff) | |
download | manaverse-6b894220f3c029d256f7f15f41ecb2f635d25bde.tar.gz manaverse-6b894220f3c029d256f7f15f41ecb2f635d25bde.tar.bz2 manaverse-6b894220f3c029d256f7f15f41ecb2f635d25bde.tar.xz manaverse-6b894220f3c029d256f7f15f41ecb2f635d25bde.zip |
Add more MANASERV_SUPPORT defines to disable server type checks, if manaserv disabled.
Fix some compilation warnings.
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r-- | src/net/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp index 7d530940a..052d65edc 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -160,8 +160,8 @@ void connectToServer(const ServerInfo &server) switch (server.type) { -#ifdef MANASERV_SUPPORT case ServerInfo::MANASERV: +#ifdef MANASERV_SUPPORT new ManaServ::GeneralHandler; break; #endif |