diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-28 16:03:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-28 16:34:59 +0300 |
commit | b96e6eeba6e1511568c8291bd8cb6a6d3706635c (patch) | |
tree | d021843c88d856f86f018547c30f1181290ffcbe /src/actions/windows.cpp | |
parent | 60859a71dd9794b0216cc7a60146d417e06dbbad (diff) | |
download | manaplus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.gz manaplus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.bz2 manaplus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.xz manaplus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.zip |
Remove define EATHENA_SUPPORT from all code.
Now eathena like support enabled always.
Diffstat (limited to 'src/actions/windows.cpp')
-rw-r--r-- | src/actions/windows.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp index 508f17105..4febc871a 100644 --- a/src/actions/windows.cpp +++ b/src/actions/windows.cpp @@ -22,15 +22,11 @@ #include "actions/actiondef.h" -#ifdef EATHENA_SUPPORT #include "being/localplayer.h" -#endif #include "gui/dialogsmanager.h" -#ifdef EATHENA_SUPPORT #include "gui/windows/bankwindow.h" -#endif #include "gui/windows/skilldialog.h" #include "gui/windows/socialwindow.h" #include "gui/windows/statuswindow.h" @@ -55,9 +51,7 @@ #include "utils/gettext.h" -#ifdef EATHENA_SUPPORT #include "net/serverfeatures.h" -#endif #include "debug.h" @@ -272,20 +266,15 @@ impHandler0(questsWindowShow) impHandler0(bankWindowShow) { -#ifdef EATHENA_SUPPORT if (!serverFeatures || !serverFeatures->haveBankApi()) return false; showHideWindow(bankWindow); return true; -#else - return false; -#endif } impHandler0(cartWindowShow) { -#ifdef EATHENA_SUPPORT if (!serverFeatures || !serverFeatures->haveCart() || !localPlayer || @@ -298,9 +287,6 @@ impHandler0(cartWindowShow) if (inventoryWindow) inventoryWindow->updateDropButton(); return true; -#else - return false; -#endif } impHandler0(updaterWindowShow) @@ -329,12 +315,8 @@ impHandler0(quickWindowShow) impHandler0(mailWindowShow) { -#ifdef EATHENA_SUPPORT showHideWindow(mailWindow); return true; -#else - return false; -#endif } } // namespace Actions |