summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/charserverhandler.cpp2
-rw-r--r--src/net/eathena/gamehandler.cpp2
-rw-r--r--src/net/eathena/inventoryhandler.cpp3
-rw-r--r--src/net/eathena/network.cpp2
-rw-r--r--src/net/eathena/playerhandler.cpp1
5 files changed, 9 insertions, 1 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 58e302c8a..a898d3162 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -36,6 +36,8 @@
#include "net/playerhandler.h"
#include "net/serverfeatures.h"
+#include "net/ea/token.h"
+
#include "net/eathena/gamehandler.h"
#include "net/eathena/loginhandler.h"
#include "net/eathena/messageout.h"
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index 4902b959f..ea8342ae3 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -29,6 +29,8 @@
#include "net/serverfeatures.h"
+#include "net/ea/token.h"
+
#include "net/eathena/loginhandler.h"
#include "net/eathena/messageout.h"
#include "net/eathena/network.h"
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 54204234e..8406575bd 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -22,11 +22,13 @@
#include "net/eathena/inventoryhandler.h"
+#include "item.h"
#include "notifymanager.h"
#include "enums/equipslot.h"
#include "being/localplayer.h"
+#include "being/playerinfo.h"
#include "listeners/arrowslistener.h"
@@ -36,6 +38,7 @@
#include "net/eathena/protocol.h"
#include "net/ea/eaprotocol.h"
+#include "net/ea/equipbackend.h"
#include "resources/notifytypes.h"
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index 1eed8b439..80f0f579b 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -52,7 +52,7 @@ Network::Network() :
Network::~Network()
{
clearHandlers();
- delete2(mMessageHandlers);
+ delete2Arr(mMessageHandlers);
mInstance = nullptr;
}
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 83f0a44b6..b7f83ead1 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -23,6 +23,7 @@
#include "net/eathena/playerhandler.h"
#include "being/localplayer.h"
+#include "being/playerinfo.h"
#include "gui/windows/statuswindow.h"