diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-18 17:22:46 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-18 17:25:39 +0100 |
commit | 6fd1246735010bccd0d75e9e7969431b963b7858 (patch) | |
tree | bc92ba46c7fa966e44519317dc9e53e7008ef050 /src/gui/serverdialog.cpp | |
parent | e30673821b6bd79d21e9443b5fe7f4a093b98dbc (diff) | |
download | mana-6fd1246735010bccd0d75e9e7969431b963b7858.tar.gz mana-6fd1246735010bccd0d75e9e7969431b963b7858.tar.bz2 mana-6fd1246735010bccd0d75e9e7969431b963b7858.tar.xz mana-6fd1246735010bccd0d75e9e7969431b963b7858.zip |
Fixed manaserv-enabled builds
Wrong define was used in the code.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) |