From 6fd1246735010bccd0d75e9e7969431b963b7858 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 18 Feb 2012 17:22:46 +0100 Subject: Fixed manaserv-enabled builds Wrong define was used in the code. --- src/gui/serverdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/serverdialog.cpp') diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index 66afe912..5c1d35a1 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -282,7 +282,7 @@ void ServerDialog::action(const gcn::ActionEvent &event) // Check login if (index < 0 -#ifndef ENABLE_MANASERV +#ifndef MANASERV_SUPPORT || mServersListModel->getServer(index).type == ServerInfo::MANASERV #endif ) @@ -475,7 +475,7 @@ void ServerDialog::loadServers() // Ignore unknown server types if (server.type == ServerInfo::UNKNOWN -#ifndef ENABLE_MANASERV +#ifndef MANASERV_SUPPORT || server.type == ServerInfo::MANASERV #endif ) -- cgit v1.2.3-70-g09d2