summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-13 17:12:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-13 17:12:06 +0300
commitadb67cb947885af8f74eb8ad943d2862a198805d (patch)
tree13aac08184c59cae8b48a59293b64875b3f09ae5 /src/gui
parent357560f6a8a0b61d94b6a70a519a2d3ece6f364d (diff)
downloadmanaplus-adb67cb947885af8f74eb8ad943d2862a198805d.tar.gz
manaplus-adb67cb947885af8f74eb8ad943d2862a198805d.tar.bz2
manaplus-adb67cb947885af8f74eb8ad943d2862a198805d.tar.xz
manaplus-adb67cb947885af8f74eb8ad943d2862a198805d.zip
fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp2
-rw-r--r--src/gui/windows/buydialog.cpp6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 7bfa4afea..f6e848ce5 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -66,8 +66,10 @@
#include "net/beinghandler.h"
#include "net/chathandler.h"
#include "net/guildhandler.h"
+#ifdef EATHENA_SUPPORT
#include "net/homunculushandler.h"
#include "net/mercenaryhandler.h"
+#endif
#include "net/pethandler.h"
#include "net/serverfeatures.h"
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index 8c0f90466..ce6775637 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -22,7 +22,9 @@
#include "gui/windows/buydialog.h"
+#ifdef EATHENA_SUPPORT
#include "actormanager.h"
+#endif
#include "configuration.h"
#include "shopitem.h"
#include "units.h"
@@ -46,11 +48,13 @@
#include "net/adminhandler.h"
#include "net/buysellhandler.h"
+#ifdef EATHENA_SUPPORT
#include "net/cashshophandler.h"
#include "net/markethandler.h"
-#include "net/npchandler.h"
#include "net/serverfeatures.h"
#include "net/vendinghandler.h"
+#endif
+#include "net/npchandler.h"
#include "resources/iteminfo.h"