diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-01-26 00:12:51 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-01-26 00:12:51 +0100 |
commit | 3f66a1934942adf3f4e81f49fe3c18476aed0177 (patch) | |
tree | e31c4ebe3849271dfb46223322cb883ac4f1bce0 /src/net | |
parent | 760184661da4b96cc390ceb161646c8a83712acf (diff) | |
download | mana-3f66a1934942adf3f4e81f49fe3c18476aed0177.tar.gz mana-3f66a1934942adf3f4e81f49fe3c18476aed0177.tar.bz2 mana-3f66a1934942adf3f4e81f49fe3c18476aed0177.tar.xz mana-3f66a1934942adf3f4e81f49fe3c18476aed0177.zip |
Prune the enet and manaserv files dependency of the 0.5 binary.
Only using cmake conditions and an ifdef. This will greatly help
packaging the mana 0.5 version on other distros.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/net.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp index 25dcd981..1b4bbf36 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -159,10 +159,11 @@ void connectToServer(ServerInfo &server) switch (server.type) { +#ifdef MANASERV_SUPPORT case ServerInfo::MANASERV: new ManaServ::GeneralHandler; break; - +#endif case ServerInfo::TMWATHENA: new TmwAthena::GeneralHandler; break; |