diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-06 15:11:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-06 15:11:30 +0300 |
commit | f7c9165e0f59a33404a486c0b154a2c21ed9a9fa (patch) | |
tree | 4b2ed9168a0459bc1d0a06c0db0fe5df73e0a19e /src/gui/windowmenu.cpp | |
parent | c53f4620bdaa1ae3fe0a15aa237ea88d28da0954 (diff) | |
download | manaverse-f7c9165e0f59a33404a486c0b154a2c21ed9a9fa.tar.gz manaverse-f7c9165e0f59a33404a486c0b154a2c21ed9a9fa.tar.bz2 manaverse-f7c9165e0f59a33404a486c0b154a2c21ed9a9fa.tar.xz manaverse-f7c9165e0f59a33404a486c0b154a2c21ed9a9fa.zip |
Move specials window to manaserv only code.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r-- | src/gui/windowmenu.cpp | 4 |
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; |