summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windowmenu.cpp')
-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;