summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-05 23:28:34 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-06 19:02:03 +0300
commit491695e60e95668e8170e290388f976190859314 (patch)
tree78f81f3a7326c6c5400879927e033718e031e43b /src/actormanager.cpp
parent51c5857be425d0cf19503ba47eba31fab4aceee6 (diff)
downloadmanaplus-491695e60e95668e8170e290388f976190859314.tar.gz
manaplus-491695e60e95668e8170e290388f976190859314.tar.bz2
manaplus-491695e60e95668e8170e290388f976190859314.tar.xz
manaplus-491695e60e95668e8170e290388f976190859314.zip
remove extra includes if build without tmwa support.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index fd24147e9..c4079f776 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -27,7 +27,6 @@
#include "settings.h"
#include "being/localplayer.h"
-#include "being/playerinfo.h"
#include "being/playerrelations.h"
#include "gui/sdlinput.h"
@@ -35,7 +34,6 @@
#include "gui/widgets/tabs/chat/chattab.h"
-#include "gui/windows/chatwindow.h"
#include "gui/windows/equipmentwindow.h"
#include "gui/windows/socialwindow.h"
#include "gui/windows/questswindow.h"
@@ -51,7 +49,6 @@
#include "net/beinghandler.h"
#include "net/charserverhandler.h"
-#include "net/net.h"
#include "net/packetlimiter.h"
#include "net/playerhandler.h"
#include "net/serverfeatures.h"
@@ -63,6 +60,14 @@
#include "resources/db/itemdb.h"
+#ifdef TMWA_SUPPORT
+#include "being/playerinfo.h"
+
+#include "gui/windows/chatwindow.h"
+
+#include "net/net.h"
+#endif // TMWA_SUPPORT
+
#include <algorithm>
#include "debug.h"