From f7c9165e0f59a33404a486c0b154a2c21ed9a9fa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 May 2012 15:11:30 +0300 Subject: Move specials window to manaserv only code. --- src/gui/windowmenu.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui') 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; -- cgit v1.2.3-70-g09d2