From 954ceb91ddd94985594996d6d3c50be7b5652626 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 1 Feb 2011 20:58:10 +0200 Subject: Add ability to enable/disable manaserv with embedded enet. Set manaserv disabled in automake and cmake by default but enabled in build scripts. --- src/gui/serverdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui') diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index b31bc7ba8..0e6f1d5b8 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -122,8 +122,10 @@ std::string TypeListModel::getElementAt(int elementIndex) { if (elementIndex == 0) return "TmwAthena"; +#ifdef MANASERV_SUPPORT else if (elementIndex == 1) return "ManaServ"; +#endif else return "Unknown"; } -- cgit v1.2.3-70-g09d2