summaryrefslogtreecommitdiff
path: root/src/progs/manaplus
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/progs/manaplus
parent51c5857be425d0cf19503ba47eba31fab4aceee6 (diff)
downloadplus-491695e60e95668e8170e290388f976190859314.tar.gz
plus-491695e60e95668e8170e290388f976190859314.tar.bz2
plus-491695e60e95668e8170e290388f976190859314.tar.xz
plus-491695e60e95668e8170e290388f976190859314.zip
remove extra includes if build without tmwa support.
Diffstat (limited to 'src/progs/manaplus')
-rw-r--r--src/progs/manaplus/actions/actions.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp
index 0827418c7..aa30257b7 100644
--- a/src/progs/manaplus/actions/actions.cpp
+++ b/src/progs/manaplus/actions/actions.cpp
@@ -91,7 +91,6 @@
#include "net/mercenaryhandler.h"
#include "net/net.h"
#include "net/npchandler.h"
-#include "net/playerhandler.h"
#include "net/serverfeatures.h"
#include "net/uploadcharinfo.h"
#include "net/tradehandler.h"
@@ -106,10 +105,15 @@
#include "utils/delete2.h"
#include "utils/foreach.h"
#include "utils/gettext.h"
-#include "utils/mathutils.h"
#include "utils/parameters.h"
#include "utils/timer.h"
+#ifdef TMWA_SUPPORT
+#include "net/playerhandler.h"
+
+#include "utils/mathutils.h"
+#endif // TMWA_SUPPORT
+
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#ifdef ANDROID