summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/buysellrecv.cpp2
-rw-r--r--src/net/ea/eaprotocol.h3
-rw-r--r--src/net/ea/inventoryrecv.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/net/ea/buysellrecv.cpp b/src/net/ea/buysellrecv.cpp
index 28c0409f8..27e74ba6d 100644
--- a/src/net/ea/buysellrecv.cpp
+++ b/src/net/ea/buysellrecv.cpp
@@ -28,6 +28,8 @@
#include "being/playerinfo.h"
+#include "const/net/inventory.h"
+
#include "enums/resources/notifytypes.h"
#include "gui/windows/buydialog.h"
diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h
index 48a7d9262..90b2b37af 100644
--- a/src/net/ea/eaprotocol.h
+++ b/src/net/ea/eaprotocol.h
@@ -102,7 +102,4 @@ enum
EA_SPRITE_VECTOREND
};
-static const int INVENTORY_OFFSET = 2;
-static const int STORAGE_OFFSET = 1;
-
#endif // NET_EA_EAPROTOCOL_H
diff --git a/src/net/ea/inventoryrecv.cpp b/src/net/ea/inventoryrecv.cpp
index bda53bab3..65ba9078d 100644
--- a/src/net/ea/inventoryrecv.cpp
+++ b/src/net/ea/inventoryrecv.cpp
@@ -26,6 +26,8 @@
#include "being/localplayer.h"
+#include "const/net/inventory.h"
+
#include "enums/equipslot.h"
#include "enums/resources/notifytypes.h"