summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-01 20:58:10 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-01 21:42:50 +0200
commit954ceb91ddd94985594996d6d3c50be7b5652626 (patch)
tree95b9a13368a5c561b380f34df95850276ec205ac /src/gui/serverdialog.cpp
parentba1c188f7a1850761eb7d63fbaaeece6dfb2a256 (diff)
downloadmv-954ceb91ddd94985594996d6d3c50be7b5652626.tar.gz
mv-954ceb91ddd94985594996d6d3c50be7b5652626.tar.bz2
mv-954ceb91ddd94985594996d6d3c50be7b5652626.tar.xz
mv-954ceb91ddd94985594996d6d3c50be7b5652626.zip
Add ability to enable/disable manaserv with embedded enet.
Set manaserv disabled in automake and cmake by default but enabled in build scripts.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp2
1 files changed, 2 insertions, 0 deletions
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";
}