summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-06 15:11:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-06 15:11:30 +0300
commitf7c9165e0f59a33404a486c0b154a2c21ed9a9fa (patch)
tree4b2ed9168a0459bc1d0a06c0db0fe5df73e0a19e /src/gui
parentc53f4620bdaa1ae3fe0a15aa237ea88d28da0954 (diff)
downloadplus-f7c9165e0f59a33404a486c0b154a2c21ed9a9fa.tar.gz
plus-f7c9165e0f59a33404a486c0b154a2c21ed9a9fa.tar.bz2
plus-f7c9165e0f59a33404a486c0b154a2c21ed9a9fa.tar.xz
plus-f7c9165e0f59a33404a486c0b154a2c21ed9a9fa.zip
Move specials window to manaserv only code.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windowmenu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 6a9166219..6359df7cd 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -30,7 +30,9 @@
#include "gui/didyouknowwindow.h"
#include "gui/emotepopup.h"
#include "gui/skilldialog.h"
+#ifdef MANASERV_SUPPORT
#include "gui/specialswindow.h"
+#endif
#include "gui/textpopup.h"
#include "gui/viewport.h"
@@ -189,10 +191,12 @@ void WindowMenu::action(const gcn::ActionEvent &event)
{
window = skillDialog;
}
+#ifdef MANASERV_SUPPORT
else if (event.getId() == "SPE")
{
window = specialsWindow;
}
+#endif
else if (event.getId() == "SH")
{
window = itemShortcutWindow;